Class DiscoveryServiceException
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.discovery.ffdc.DiscoveryServiceException
- All Implemented Interfaces:
Serializable
DiscoveryServiceException indicates there has been a problem running a discovery service. The
error codes and messages indicate the cause of the problem and guidance on finding a remedy.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDiscoveryServiceException
(String errorMessage, ConnectorCheckedException template) This is the copy/clone constructor used for creating an exception.DiscoveryServiceException
(ExceptionMessageDefinition messageDefinition, String className, String actionDescription) This is the typical constructor used for creating a DiscoveryServiceException.DiscoveryServiceException
(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Throwable caughtError) This is the constructor used for creating a DiscoveryServiceException 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
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
DiscoveryServiceException
public DiscoveryServiceException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription) This is the typical constructor used for creating a DiscoveryServiceException.- Parameters:
messageDefinition
- content of messageclassName
- name of class reporting erroractionDescription
- description of function it was performing when error detected
-
DiscoveryServiceException
public DiscoveryServiceException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Throwable caughtError) This is the constructor used for creating a DiscoveryServiceException 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.
-
DiscoveryServiceException
This is the copy/clone constructor used for creating an exception.- Parameters:
errorMessage
- associated messagetemplate
- object to copy
-