Package org.apache.batik.test
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: TestErrorConditionException.java 1733416 2016-03-03 07:07:13Z gadams $
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Default constructorTestErrorConditionException
(String errorCode) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addStackTraceDescription
(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 java.lang.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.
-