Class AssertionFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.odpi.openmetadata.conformance.ffdc.exception.ConformanceException
org.odpi.openmetadata.conformance.ffdc.exception.AssertionFailureException
- All Implemented Interfaces:
Serializable
AssertionFailureException is used when a test case fails an assertion.
- See Also:
-
Constructor Summary
ConstructorDescriptionAssertionFailureException
(String assertionId, String assertionMessage) Typical constructor accepts information about the failure of the test. -
Method Summary
Modifier and TypeMethodDescriptionReturn the identifier of the assertion that failed.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AssertionFailureException
Typical constructor accepts information about the failure of the test.- Parameters:
assertionId
- identifier of the assertion.assertionMessage
- associated message.
-
-
Method Details
-
getAssertionId
Return the identifier of the assertion that failed.- Returns:
- string identifier
-