public class OMRSConfigErrorException extends OMRSRuntimeException
| Constructor and Description |
|---|
OMRSConfigErrorException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction)
This is the typical constructor used for creating an OMRSConfigErrorException.
|
OMRSConfigErrorException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction,
Throwable caughtError)
This is the constructor used for creating a OMRSConfigErrorException when an unexpected exception has been caught.
|
OMRSConfigErrorException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction,
Throwable[] caughtErrors)
This is the constructor used for creating a OMRSConfigErrorException when multiple unexpected errors
have been caught.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorMessage()
A formatted short description of the cause of the condition that resulted in this exception.
|
Throwable[] |
getReportedCaughtExceptions()
An exception that was caught and wrapped by this exception.
|
int |
getReportedHTTPCode()
Return the HTTP response code to use with this exception.
|
String |
getReportedSystemAction()
A description of the action that the system took as a result of the error condition.
|
String |
getReportedUserAction()
A description of the action necessary to correct the error.
|
String |
getReportingActionDescription()
The type of request that the class was performing when the condition occurred that resulted in this
exception.
|
String |
getReportingClassName()
The class that created this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic OMRSConfigErrorException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction)
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 errorpublic OMRSConfigErrorException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction,
Throwable caughtError)
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 - previous error causing this exceptionpublic OMRSConfigErrorException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction,
Throwable[] caughtErrors)
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 errorcaughtErrors - previous errors causing this exceptionpublic int getReportedHTTPCode()
getReportedHTTPCode in class OMRSRuntimeExceptionpublic String getReportingClassName()
getReportingClassName in class OMRSRuntimeExceptionpublic String getReportingActionDescription()
getReportingActionDescription in class OMRSRuntimeExceptionpublic String getErrorMessage()
getErrorMessage in class OMRSRuntimeExceptionpublic String getReportedSystemAction()
getReportedSystemAction in class OMRSRuntimeExceptionpublic String getReportedUserAction()
getReportedUserAction in class OMRSRuntimeExceptionpublic Throwable[] getReportedCaughtExceptions()
getReportedCaughtExceptions in class OMRSRuntimeExceptionCopyright © 2018–2019 ODPi. All rights reserved.