Class TestErrorConditionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.batik.test.TestErrorConditionException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AssertException

public class TestErrorConditionException extends Exception
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 Details

    • errorCode

      protected String errorCode
      Error code. May be null.
  • Constructor Details

    • TestErrorConditionException

      protected TestErrorConditionException()
      Default constructor
    • TestErrorConditionException

      public TestErrorConditionException(String errorCode)
      Parameters:
      errorCode - describes the error condition
  • Method Details

    • 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.