public class TestErrorConditionException extends Exception
AbstractTest
extensions can throw from the
rumImpl
method to report an error condition.Modifier | Constructor and Description |
---|---|
protected |
TestErrorConditionException()
Default constructor
|
|
TestErrorConditionException(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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected String errorCode
protected TestErrorConditionException()
public TestErrorConditionException(String errorCode)
errorCode
- describes the error conditionpublic TestReport getTestReport(Test test)
public void addStackTraceDescription(TestReport report)
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.