public abstract class AssertException extends TestErrorConditionException
Modifier and Type | Field and Description |
---|---|
static String |
ENTRY_KEY_ASSERTION_TYPE |
errorCode
Constructor and Description |
---|
AssertException() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addDescription(TestReport report)
Requests that the exception populates the TestReport with the
relevant information.
|
abstract String |
getAssertionType()
Returns the type of assertion which failed.
|
TestReport |
getTestReport(Test test)
TestErrorConditionException implementation. |
addStackTraceDescription
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final String ENTRY_KEY_ASSERTION_TYPE
public TestReport getTestReport(Test test)
TestErrorConditionException
implementation.getTestReport
in class TestErrorConditionException
public abstract void addDescription(TestReport report)
public abstract String getAssertionType()
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.