Class DumpErrorSingleton
- java.lang.Object
-
- org.apache.maven.surefire.api.booter.DumpErrorSingleton
-
public final class DumpErrorSingleton extends Object
Dumps lost commands and caused exceptions in forked JVM.
Fail-safe.- Since:
- 2.20
- Author:
- Tibor Digana (tibor17)
-
-
Field Summary
Fields Modifier and Type Field Description static String
DUMP_FILE_EXT
static String
DUMPSTREAM_FILE_EXT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description File
dumpException(Throwable t)
File
dumpException(Throwable t, String msg)
File
dumpStreamException(Throwable t)
File
dumpStreamException(Throwable t, String msg)
File
dumpStreamText(String msg)
File
dumpText(String msg)
File
getCommandStreamBinaryFile()
static DumpErrorSingleton
getSingleton()
void
init(File reportsDir, String dumpFileName)
-
-
-
Field Detail
-
DUMP_FILE_EXT
public static final String DUMP_FILE_EXT
- See Also:
- Constant Field Values
-
DUMPSTREAM_FILE_EXT
public static final String DUMPSTREAM_FILE_EXT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSingleton
public static DumpErrorSingleton getSingleton()
-
getCommandStreamBinaryFile
public File getCommandStreamBinaryFile()
-
-