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
ConstructorDescriptionLegacyPojoStackTraceWriter
(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:StackTraceWriter
Write the throwable to a string, without trimming.- Specified by:
writeTraceToString
in interfaceStackTraceWriter
- Returns:
- the trace
-
smartTrimmedStackTrace
Description copied from interface:StackTraceWriter
Get the "smart" trimmed (1-2 lines) stacktrace.- Specified by:
smartTrimmedStackTrace
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
-