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()
StackTraceWriter
writeTraceToString
in interface StackTraceWriter
public String smartTrimmedStackTrace()
StackTraceWriter
smartTrimmedStackTrace
in interface StackTraceWriter
public String writeTrimmedTraceToString()
StackTraceWriter
writeTrimmedTraceToString
in interface StackTraceWriter
public SafeThrowable getThrowable()
StackTraceWriter
getThrowable
in interface StackTraceWriter
Copyright © 2004-2016 The Apache Software Foundation. All Rights Reserved.