Class GovernanceServiceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.odpi.openmetadata.frameworks.connectors.ffdc.OCFCheckedExceptionBase
-
- org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedException
-
- org.odpi.openmetadata.frameworks.governanceaction.ffdc.GovernanceServiceException
-
- All Implemented Interfaces:
java.io.Serializable
public class GovernanceServiceException extends ConnectorCheckedException
GovernanceServiceException indicates there is a problem with a request to a specific governance engine. The error codes and messages indicate the cause of the problem and guidance on finding a remedy.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GovernanceServiceException(java.lang.String errorMessage, OCFCheckedExceptionBase template)
This is the copy/clone constructor used for creating an exception.GovernanceServiceException(ExceptionMessageDefinition messageDefinition, java.lang.String className, java.lang.String actionDescription)
This is the typical constructor used for creating a GovernanceServiceException.GovernanceServiceException(ExceptionMessageDefinition messageDefinition, java.lang.String className, java.lang.String actionDescription, java.lang.Throwable caughtError)
This is the constructor used for creating a GovernanceServiceException in response to a previous exception.
-
Method Summary
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.ffdc.OCFCheckedExceptionBase
equals, getErrorMessage, getRelatedProperties, getReportedCaughtException, getReportedCaughtExceptionClassName, getReportedErrorMessage, getReportedErrorMessageId, getReportedErrorMessageParameters, getReportedHTTPCode, getReportedSystemAction, getReportedUserAction, getReportingActionDescription, getReportingClassName, hashCode, toString
-
-
-
-
Constructor Detail
-
GovernanceServiceException
public GovernanceServiceException(ExceptionMessageDefinition messageDefinition, java.lang.String className, java.lang.String actionDescription)
This is the typical constructor used for creating a GovernanceServiceException.- Parameters:
messageDefinition
- content of messageclassName
- name of class reporting erroractionDescription
- description of function it was performing when error detected
-
GovernanceServiceException
public GovernanceServiceException(ExceptionMessageDefinition messageDefinition, java.lang.String className, java.lang.String actionDescription, java.lang.Throwable caughtError)
This is the constructor used for creating a GovernanceServiceException in response to a previous exception.- Parameters:
messageDefinition
- content of messageclassName
- name of class reporting erroractionDescription
- description of function it was performing when error detectedcaughtError
- the error that resulted in this exception.
-
GovernanceServiceException
public GovernanceServiceException(java.lang.String errorMessage, OCFCheckedExceptionBase template)
This is the copy/clone constructor used for creating an exception.- Parameters:
errorMessage
- associated messagetemplate
- object to copy
-
-