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:StackTraceWriterGet the "smart" trimmed (1-2 lines) stacktrace.- Specified by:
smartTrimmedStackTracein interfaceStackTraceWriter- Returns:
- the trace
-
writeTraceToString
Description copied from interface:StackTraceWriterWrite the throwable to a string, without trimming.- Specified by:
writeTraceToStringin interfaceStackTraceWriter- Returns:
- the trace
-
writeTrimmedTraceToString
Description copied from interface:StackTraceWriterWrite the throwable to a string, trimming extra locations.- Specified by:
writeTrimmedTraceToStringin interfaceStackTraceWriter- Returns:
- the trace
-
getThrowable
Description copied from interface:StackTraceWriterRetrieve the throwable for this writer.- Specified by:
getThrowablein interfaceStackTraceWriter- Returns:
- the throwable
-