public class ConnectionCheckedException extends OCFCheckedExceptionBase
| Constructor and Description |
|---|
ConnectionCheckedException(ConnectionCheckedException template)
This is the copy/clone constructor used for creating an exception.
|
ConnectionCheckedException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction)
This is the typical constructor for creating a ConnectionCheckedException.
|
ConnectionCheckedException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction,
Throwable caughtError)
This constructor is used when an unexpected exception has been caught that needs to be wrapped in a
ConnectionCheckedException in order to add the essential details about the error, where it occurred and
how to fix it.
|
equals, getErrorMessage, getRelatedProperties, getReportedCaughtException, getReportedHTTPCode, getReportedSystemAction, getReportedUserAction, getReportingActionDescription, getReportingClassName, hashCode, toStringaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic ConnectionCheckedException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction)
httpCode - code to use across a REST interfaceclassName - 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 errorpublic ConnectionCheckedException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction,
Throwable caughtError)
httpCode - code to use across a REST interfaceclassName - 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 exception/error that caused this exception to be raisedpublic ConnectionCheckedException(ConnectionCheckedException template)
template - object to copyCopyright © 2018–2020 ODPi. All rights reserved.