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()
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–2013 The Apache Software Foundation. All rights reserved.