Class DumpFileUtils
java.lang.Object
org.apache.maven.surefire.api.util.internal.DumpFileUtils
Dumps a text or exception in dump file.
Each call logs a date when it was written to the dump file.
- Since:
- 2.20
- Author:
- Tibor Digana (tibor17)
-
Method Summary
Modifier and TypeMethodDescriptionstatic voiddumpException(Throwable t, File dumpFile) static voiddumpException(Throwable t, String msg, File dumpFile) static voidstatic FilenewDumpFile(File reportsDir, String dumpFileName) New dump file.static String
-
Method Details
-
newDumpFile
New dump file. Synchronized object appears in main memory and perfectly visible in other threads.- Parameters:
reportsDir- only report directorydumpFileName- dump file name
-
dumpException
-
dumpException
-
dumpText
-
newFormattedDateFileName
-