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. |
addStackTraceDescriptionaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final String ENTRY_KEY_ASSERTION_TYPE
public TestReport getTestReport(Test test)
TestErrorConditionException implementation.getTestReport in class TestErrorConditionExceptionpublic abstract void addDescription(TestReport report)
public abstract String getAssertionType()
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.