Class GAFRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.odpi.openmetadata.frameworks.connectors.ffdc.OCFRuntimeException
org.odpi.openmetadata.frameworks.governanceaction.ffdc.GAFRuntimeException
- All Implemented Interfaces:
Serializable
The GAFRuntimeException is used for all runtime exceptions from GAF components. The GAFErrorCode is used to
provide the first failure data capture for this exception. Typically runtime exceptions are the result of
programming errors and so a developer is looking at their resolution.
- See Also:
-
Constructor Summary
ConstructorDescriptionGAFRuntimeException
(ExceptionMessageDefinition messageDefinition, String className, String actionDescription) This is the typical constructor used for creating an OCFRuntimeException.GAFRuntimeException
(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Throwable caughtError) This is the constructor used for creating a OCFRuntimeException that results from a previous error/exception being thrown.GAFRuntimeException
(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Throwable caughtError, Map<String, Object> relatedProperties) This is the constructor used for creating a OCFRuntimeException that results from a previous error/exception being thrown.GAFRuntimeException
(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Map<String, Object> relatedProperties) This is the typical constructor used for creating an OCFRuntimeException. -
Method Summary
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.ffdc.OCFRuntimeException
equals, getRelatedProperties, getReportedCaughtException, getReportedCaughtExceptionClassName, getReportedErrorMessage, getReportedErrorMessageId, getReportedErrorMessageParameters, getReportedHTTPCode, getReportedSystemAction, getReportedUserAction, getReportingActionDescription, getReportingClassName, hashCode, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
GAFRuntimeException
public GAFRuntimeException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription) This is the typical constructor used for creating an OCFRuntimeException.- Parameters:
messageDefinition
- content of messageclassName
- name of class reporting erroractionDescription
- description of function it was performing when error detected
-
GAFRuntimeException
public GAFRuntimeException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Map<String, Object> relatedProperties) This is the typical constructor used for creating an OCFRuntimeException.- Parameters:
messageDefinition
- content of messageclassName
- name of class reporting erroractionDescription
- description of function it was performing when error detectedrelatedProperties
- arbitrary properties that may help with diagnosing the problem.
-
GAFRuntimeException
public GAFRuntimeException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Throwable caughtError) This is the constructor used for creating a OCFRuntimeException that results from a previous error/exception being thrown.- Parameters:
messageDefinition
- content of messageclassName
- name of class reporting erroractionDescription
- description of function it was performing when error detectedcaughtError
- previous error causing this exception
-
GAFRuntimeException
public GAFRuntimeException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Throwable caughtError, Map<String, Object> relatedProperties) This is the constructor used for creating a OCFRuntimeException that results from a previous error/exception being thrown.- Parameters:
messageDefinition
- content of messageclassName
- name of class reporting erroractionDescription
- description of function it was performing when error detectedcaughtError
- previous error causing this exceptionrelatedProperties
- arbitrary properties that may help with diagnosing the problem.
-