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 |
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 writeTrimmedTraceToString()
StackTraceWriterwriteTrimmedTraceToString in interface StackTraceWriterpublic SafeThrowable getThrowable()
StackTraceWritergetThrowable in interface StackTraceWriterCopyright © 2004-2012 Apache Software Foundation. All Rights Reserved.