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:
java.io.Serializable
public class GAFRuntimeException extends OCFRuntimeException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GAFRuntimeException(ExceptionMessageDefinition messageDefinition, java.lang.String className, java.lang.String actionDescription)
This is the typical constructor used for creating an OCFRuntimeException.GAFRuntimeException(ExceptionMessageDefinition messageDefinition, java.lang.String className, java.lang.String actionDescription, java.lang.Throwable caughtError)
This is the constructor used for creating a OCFRuntimeException that results from a previous error/exception being thrown.GAFRuntimeException(ExceptionMessageDefinition messageDefinition, java.lang.String className, java.lang.String actionDescription, java.lang.Throwable caughtError, java.util.Map<java.lang.String,java.lang.Object> relatedProperties)
This is the constructor used for creating a OCFRuntimeException that results from a previous error/exception being thrown.GAFRuntimeException(ExceptionMessageDefinition messageDefinition, java.lang.String className, java.lang.String actionDescription, java.util.Map<java.lang.String,java.lang.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
-
-
-
-
Constructor Detail
-
GAFRuntimeException
public GAFRuntimeException(ExceptionMessageDefinition messageDefinition, java.lang.String className, java.lang.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, java.lang.String className, java.lang.String actionDescription, java.util.Map<java.lang.String,java.lang.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, java.lang.String className, java.lang.String actionDescription, java.lang.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, java.lang.String className, java.lang.String actionDescription, java.lang.Throwable caughtError, java.util.Map<java.lang.String,java.lang.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.
-
-