public class PojoStackTraceWriter extends Object implements StackTraceWriter
| Modifier and Type | Field and Description |
|---|---|
protected String |
testClass |
protected String |
testMethod |
| Constructor and Description |
|---|
PojoStackTraceWriter(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.
|
protected final String testClass
protected final String testMethod
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-2015 The Apache Software Foundation. All Rights Reserved.