Class LegacyPojoStackTraceWriter
java.lang.Object
org.apache.maven.surefire.api.report.LegacyPojoStackTraceWriter
- All Implemented Interfaces:
StackTraceWriter
Write the trace out for a POJO test. Java 1.5 compatible.
- Author:
- Brett Porter
-
Constructor Summary
ConstructorsConstructorDescriptionLegacyPojoStackTraceWriter(String testClass, String testMethod, Throwable t) -
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.
-
Constructor Details
-
LegacyPojoStackTraceWriter
-
-
Method Details
-
writeTraceToString
Description copied from interface:StackTraceWriterWrite the throwable to a string, without trimming.- Specified by:
writeTraceToStringin interfaceStackTraceWriter- Returns:
- the trace
-
smartTrimmedStackTrace
Description copied from interface:StackTraceWriterGet the "smart" trimmed (1-2 lines) stacktrace.- Specified by:
smartTrimmedStackTracein 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
-