public class UnexpectedResponseException extends SubjectAreaCheckedExceptionBase
| Constructor and Description |
|---|
UnexpectedResponseException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction,
String unexpectedResponseCategory)
This is the typical constructor used for creating a unexpectedResponseCategoryNotPurgedException.
|
UnexpectedResponseException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction,
String unexpectedResponseCategory,
Throwable caughtError)
This is the constructor used for creating a unexpectedResponseCategory.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getunexpectedResponseCategory() |
getErrorMessage, getReportedCaughtException, getReportedHTTPCode, getReportedSystemAction, getReportedUserAction, getReportingActionDescription, getReportingClassNameaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UnexpectedResponseException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction,
String unexpectedResponseCategory)
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 errorunexpectedResponseCategory - unexpected response categorypublic UnexpectedResponseException(int httpCode,
String className,
String actionDescription,
String errorMessage,
String systemAction,
String userAction,
String unexpectedResponseCategory,
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.unexpectedResponseCategory - unexpected response categorypublic String getunexpectedResponseCategory()
Copyright © 2017–2018 ODPi. All rights reserved.