Interface StackTraceWriter
- All Known Implementing Classes:
 LegacyPojoStackTraceWriter
public interface StackTraceWriter
Ability to write a stack trace, filtered to omit locations inside Surefire and Maven.
- Author:
 - Brett Porter
 
- 
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. 
- 
Method Details
- 
writeTraceToString
String writeTraceToString()Write the throwable to a string, without trimming.- Returns:
 - the trace
 
 - 
writeTrimmedTraceToString
String writeTrimmedTraceToString()Write the throwable to a string, trimming extra locations.- Returns:
 - the trace
 
 - 
smartTrimmedStackTrace
String smartTrimmedStackTrace()Get the "smart" trimmed (1-2 lines) stacktrace.- Returns:
 - the trace
 
 - 
getThrowable
SafeThrowable getThrowable()Retrieve the throwable for this writer.- Returns:
 - the throwable
 
 
 -