public class SlimExceptionResult extends java.lang.Object implements ExceptionResult
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_SLIM_EXCEPTION_COMPARATOR |
static java.util.regex.Pattern |
EXCEPTION_MESSAGE_PATTERN |
Constructor and Description |
---|
SlimExceptionResult(java.lang.String resultKey,
java.lang.String exceptionValue) |
Modifier and Type | Method and Description |
---|---|
TestResult |
catchTestResult() |
java.lang.String |
getException() |
ExecutionResult |
getExecutionResult() |
java.lang.String |
getMessage() |
java.lang.String |
getResultKey() |
boolean |
hasMessage() |
boolean |
isCatchException() |
boolean |
isNoInstanceException() |
boolean |
isNoMethodInClassException() |
boolean |
isStopSuiteException() |
boolean |
isStopTestException() |
void |
setCatchException(TestResult testResult) |
public static final java.util.regex.Pattern EXCEPTION_MESSAGE_PATTERN
public static final java.lang.String DEFAULT_SLIM_EXCEPTION_COMPARATOR
public SlimExceptionResult(java.lang.String resultKey, java.lang.String exceptionValue)
public ExecutionResult getExecutionResult()
getExecutionResult
in interface ExceptionResult
public boolean hasMessage()
public java.lang.String getMessage()
getMessage
in interface ExceptionResult
public java.lang.String getResultKey()
public java.lang.String getException()
public boolean isCatchException()
public TestResult catchTestResult()
public void setCatchException(TestResult testResult)
public boolean isStopTestException()
public boolean isStopSuiteException()
public boolean isNoMethodInClassException()
public boolean isNoInstanceException()