Class CaughtException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.odpi.openmetadata.conformance.ffdc.exception.ConformanceException
org.odpi.openmetadata.conformance.ffdc.exception.CaughtException
- All Implemented Interfaces:
 Serializable
CaughtException is used when an unexpected exception occurs during a test.
- See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionCaughtException(String errorMessage, Exception caughtException) The constructor captures the context of the exception. - 
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
CaughtException
The constructor captures the context of the exception.- Parameters:
 errorMessage- description of where exception occurredcaughtException- exception that was caught.
 
 - 
 - 
Method Details
- 
getCaughtException
Return the caught exception.- Returns:
 - exception object
 
 
 -