Package org.apache.batik.test
Class TestErrorConditionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.batik.test.TestErrorConditionException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AssertException
public class TestErrorConditionException extends java.lang.Exception
Exception whichAbstractTest
extensions can throw from therumImpl
method to report an error condition.- Version:
- $Id: TestErrorConditionException.java 1733416 2016-03-03 07:07:13Z gadams $
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
errorCode
Error code.
-
Constructor Summary
Constructors Modifier Constructor Description protected
TestErrorConditionException()
Default constructorTestErrorConditionException(java.lang.String errorCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
getTestReport
public TestReport getTestReport(Test test)
Requests a report which describes the exception.
-
addStackTraceDescription
public void addStackTraceDescription(TestReport report)
Convenience method: adds a description entry for the stack trace.
-
-