Class DeserializedStacktraceWriter
java.lang.Object
org.apache.maven.plugin.surefire.booterclient.output.DeserializedStacktraceWriter
- All Implemented Interfaces:
StackTraceWriter
Represents a deserialize stacktracewriter that has been
marshalled across to the plugin from the fork.
Might be better to represent this whole thing differently
Might be better to represent this whole thing differently
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeserializedStacktraceWriter
(String message, String smartTrimmed, String stackTrace) -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the throwable for this writer.Get the "smart" trimmed (1-2 lines) stacktrace.Write the throwable to a string, without trimming.Write the throwable to a string, trimming extra locations.
-
Field Details
-
message
-
smartTrimmed
-
stackTrace
-
-
Constructor Details
-
DeserializedStacktraceWriter
-
-
Method Details
-
smartTrimmedStackTrace
Description copied from interface:StackTraceWriter
Get the "smart" trimmed (1-2 lines) stacktrace.- Specified by:
smartTrimmedStackTrace
in interfaceStackTraceWriter
- Returns:
- the trace
-
writeTraceToString
Description copied from interface:StackTraceWriter
Write the throwable to a string, without trimming.- Specified by:
writeTraceToString
in interfaceStackTraceWriter
- Returns:
- the trace
-
writeTrimmedTraceToString
Description copied from interface:StackTraceWriter
Write the throwable to a string, trimming extra locations.- Specified by:
writeTrimmedTraceToString
in interfaceStackTraceWriter
- Returns:
- the trace
-
getThrowable
Description copied from interface:StackTraceWriter
Retrieve the throwable for this writer.- Specified by:
getThrowable
in interfaceStackTraceWriter
- Returns:
- the throwable
-