Class RESTServerException
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.RESTServerException
- All Implemented Interfaces:
Serializable
The RESTServerException is thrown by the REST client connector when it is not able to communicate with the
REST server.
- See Also:
-
Constructor Summary
ConstructorDescriptionRESTServerException
(int httpCode, String className, String actionDescription, String errorMessage, String systemAction, String userAction) This is the typical constructor used for creating an exception.RESTServerException
(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
-
RESTServerException
public RESTServerException(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
-
RESTServerException
public RESTServerException(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