public class PropertyServerException extends GovernanceProgramCheckedExceptionBase
| Constructor and Description |
|---|
PropertyServerException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction)
This is the typical constructor used for creating an exception.
|
PropertyServerException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction,
Throwable caughtError)
This is the constructor used for creating an exception that resulted from a previous error.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString()
JSON-style toString
|
equals, getErrorMessage, getReportedCaughtException, getReportedHTTPCode, getReportedSystemAction, getReportedUserAction, getReportingActionDescription, getReportingClassName, hashCodeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic PropertyServerException(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 PropertyServerException(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 - the error that resulted in this exception.Copyright © 2017–2018 ODPi. All rights reserved.