public static class JkTestSuiteResult.JkExceptionDescription
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
JkTestSuiteResult.JkExceptionDescription |
getCause()
Returns the cause of the exception.
|
java.lang.String |
getClassName()
Returns the name of the exception.
|
java.lang.String |
getMessage()
Returns the message of the exception.
|
java.lang.StackTraceElement[] |
getStackTrace()
Returns the stack trace of the exception.
|
java.util.List<java.lang.String> |
getStackTraceAsStrings()
Returns a multi-line representation of the stack trace.
|
boolean |
isAssertError()
Returns either this exception is an assertion failure or not.
|
static JkTestSuiteResult.JkExceptionDescription |
of(java.lang.Throwable throwable)
Constructs an exception description.
|
public static JkTestSuiteResult.JkExceptionDescription of(java.lang.Throwable throwable)
public java.lang.String getClassName()
public java.lang.String getMessage()
public java.lang.StackTraceElement[] getStackTrace()
public JkTestSuiteResult.JkExceptionDescription getCause()
public boolean isAssertError()
public java.util.List<java.lang.String> getStackTraceAsStrings()