Class TestErrorConditionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.batik.test.TestErrorConditionException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AssertException
Exception which
AbstractTest extensions can throw from the
rumImpl method to report an error condition.- Version:
- $Id$
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructorTestErrorConditionException(String errorCode) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStackTraceDescription(TestReport report) Convenience method: adds a description entry for the stack trace.getTestReport(Test test) Requests a report which describes the exception.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
errorCode
Error code. May be null.
-
-
Constructor Details
-
TestErrorConditionException
protected TestErrorConditionException()Default constructor -
TestErrorConditionException
- Parameters:
errorCode- describes the error condition
-
-
Method Details
-
getTestReport
Requests a report which describes the exception. -
addStackTraceDescription
Convenience method: adds a description entry for the stack trace.
-