public class TestErrorConditionException
extends java.lang.Exception
AbstractTest
extensions can throw from the
rumImpl
method to report an error condition.Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
errorCode
Error code.
|
Modifier | Constructor and Description |
---|---|
protected |
TestErrorConditionException()
Default constructor
|
|
TestErrorConditionException(java.lang.String errorCode) |
Modifier and Type | Method and Description |
---|---|
void |
addStackTraceDescription(TestReport report)
Convenience method: adds a description entry for the stack
trace.
|
TestReport |
getTestReport(Test test)
Requests a report which describes the exception.
|
protected TestErrorConditionException()
public TestErrorConditionException(java.lang.String errorCode)
errorCode
- describes the error conditionpublic TestReport getTestReport(Test test)
public void addStackTraceDescription(TestReport report)