Class RESTConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.odpi.openmetadata.adapters.connectors.restclients.ffdc.exceptions.RESTClientCheckedExceptionBase
org.odpi.openmetadata.adapters.connectors.restclients.ffdc.exceptions.RESTConfigurationException
- All Implemented Interfaces:
Serializable
The RESTConfigurationException is thrown by the connector when it is not able to configure
a client to call a REST API.
- See Also:
-
Constructor Summary
ConstructorDescriptionRESTConfigurationException
(int httpCode, String className, String actionDescription, String errorMessage, String systemAction, String userAction) This is the typical constructor used for creating an exception.RESTConfigurationException
(int httpCode, String className, String actionDescription, String errorMessage, String systemAction, String userAction, Exception caughtError) This is the constructor used for creating an exception that resulted from a previous error. -
Method Summary
Methods inherited from class org.odpi.openmetadata.adapters.connectors.restclients.ffdc.exceptions.RESTClientCheckedExceptionBase
equals, getErrorMessage, getReportedCaughtException, getReportedHTTPCode, getReportedSystemAction, getReportedUserAction, getReportingActionDescription, getReportingClassName, hashCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
RESTConfigurationException
public RESTConfigurationException(int httpCode, String className, String actionDescription, String errorMessage, String systemAction, String userAction) This is the typical constructor used for creating an exception.- Parameters:
httpCode
- http response code to use if this exception flows over a rest callclassName
- name of class reporting erroractionDescription
- description of function it was performing when error detectederrorMessage
- description of errorsystemAction
- actions of the system as a result of the erroruserAction
- instructions for correcting the error
-
RESTConfigurationException
public RESTConfigurationException(int httpCode, String className, String actionDescription, String errorMessage, String systemAction, String userAction, Exception caughtError) This is the constructor used for creating an exception that resulted from a previous error.- Parameters:
httpCode
- http response code to use if this exception flows over a rest callclassName
- name of class reporting erroractionDescription
- description of function it was performing when error detectederrorMessage
- description of errorsystemAction
- actions of the system as a result of the erroruserAction
- instructions for correcting the errorcaughtError
- the error that resulted in this exception.
-
-
Method Details