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