public class LegacyPojoStackTraceWriter extends Object implements StackTraceWriter
| Constructor and Description |
|---|
LegacyPojoStackTraceWriter(String testClass,
String testMethod,
Throwable t) |
| Modifier and Type | Method and Description |
|---|---|
SafeThrowable |
getThrowable()
Retrieve the throwable for this writer.
|
String |
smartTrimmedStackTrace()
Get the "smart" trimmed (1-2 lines) stacktrace.
|
String |
writeTraceToString()
Write the throwable to a string, without trimming.
|
String |
writeTrimmedTraceToString()
Write the throwable to a string, trimming extra locations.
|
public String writeTraceToString()
StackTraceWriterwriteTraceToString in interface StackTraceWriterpublic String smartTrimmedStackTrace()
StackTraceWritersmartTrimmedStackTrace in interface StackTraceWriterpublic String writeTrimmedTraceToString()
StackTraceWriterwriteTrimmedTraceToString in interface StackTraceWriterpublic SafeThrowable getThrowable()
StackTraceWritergetThrowable in interface StackTraceWriterCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.