public final class OAuthDenyException extends RemoteException
| Modifier and Type | Field and Description |
|---|---|
static String |
BEARER |
static int |
INSUFFICIENT_SCOPE |
static int |
INVALID_REQUEST |
static int |
UNAUTHORIZED |
detail| Constructor and Description |
|---|
OAuthDenyException(String type)
Constructor.
|
OAuthDenyException(String type,
int errorCode)
Constructor.
|
OAuthDenyException(String type,
int errorCode,
String message)
Constructor.
|
OAuthDenyException(String type,
int errorCode,
String message,
String errorDescription)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode()
get error code.
|
String |
getErrorDescription()
get error description.
|
String |
getType()
get error type.
|
getCause, getMessageaddSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final int INVALID_REQUEST
public static final int UNAUTHORIZED
public static final int INSUFFICIENT_SCOPE
public static final String BEARER
public OAuthDenyException(String type, int errorCode, String message, String errorDescription)
type - the exception type.errorCode - the exception error code.message - the exception message.errorDescription - the exception error description.public OAuthDenyException(String type, int errorCode, String message)
type - the exception type.errorCode - the exception error code.message - the exception message.public OAuthDenyException(String type, int errorCode)
type - the exception type.errorCode - the exception error code.public OAuthDenyException(String type)
type - the exception type.