public class AuthorizationException extends ErrorResponse.ErrorResponseException
Authorizer,
Serialized FormErrorResponse.ErrorResponseExceptionERROR_CODE_SERIALIZATION_NAME, ERROR_DESCRIPTION_SERIALIZATION_NAME, ERROR_URI_SERIALIZATION_NAME, INVALID_CLIENT, INVALID_REQUEST, INVALID_TOKEN, SERVER_ERROR, TEMPORARY_UNAVAILABLE| Constructor and Description |
|---|
AuthorizationException(String errorCode,
String errorDescription)
Constructor
|
AuthorizationException(String errorCode,
String errorDescription,
int httpStatus)
Constructor
|
AuthorizationException(String errorCode,
String errorDescription,
String errorURI,
int httpStatus)
Constructor
|
getErrorCode, getErrorDescription, getErrorURI, getHttpStatusaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AuthorizationException(String errorCode, String errorDescription)
errorCode - Error codeerrorDescription - Error description, i.e. a human-readable explanation of this errorpublic AuthorizationException(String errorCode, String errorDescription, int httpStatus)
errorCode - Error codeerrorDescription - Error description, i.e. a human-readable explanation of this errorhttpStatus - HTTP status code to represent error as a HTTP responsepublic AuthorizationException(String errorCode, String errorDescription, String errorURI, int httpStatus)
errorCode - Error codeerrorDescription - Error description, i.e. a human-readable explanation of this errorerrorURI - Error URI that leads to further details about this errorhttpStatus - HTTP status code to represent error as a HTTP responseCopyright © 2019 The Holon Platform. All rights reserved.