public class AuthorizationException extends Exception
Constructor and Description |
---|
AuthorizationException() |
AuthorizationException(String message) |
AuthorizationException(String message,
String errorCode)
Constructor
|
AuthorizationException(String message,
String errorCode,
Throwable cause)
Constructor
|
AuthorizationException(String message,
Throwable cause)
Constructor
|
AuthorizationException(Throwable cause)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getErrorCode()
One of the above defined constants that classifies the error.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AuthorizationException()
public AuthorizationException(String message)
public AuthorizationException(String message, String errorCode)
message
- descriptive messageerrorCode
- one of the above defined constants that classifies the error.public AuthorizationException(String message, Throwable cause)
message
- descriptive messagecause
- reference to the exception for reference.public AuthorizationException(String message, String errorCode, Throwable cause)
message
- descriptive messageerrorCode
- one of the above defined constants that classifies the error.cause
- reference to the exception for reference.public AuthorizationException(Throwable cause)
cause
- reference to the exception for reference.public String getErrorCode()
Copyright © 2017 WSO2. All rights reserved.