public class OauthErrorResponseException extends java.lang.RuntimeException implements ErrorResponse
ErrorResponse.JSON_KEY_ERROR, JSON_KEY_ERROR_DESCRIPTION, JSON_KEY_ERROR_URI, JSON_KEY_STATE| Constructor and Description | 
|---|
| OauthErrorResponseException(ErrorCode errorCode) | 
| OauthErrorResponseException(ErrorCode errorCode,
                           java.lang.String errorDescription,
                           java.lang.String errorUri) | 
| Modifier and Type | Method and Description | 
|---|---|
| ErrorCode | getError() | 
| java.lang.String | getErrorDescription() | 
| java.lang.String | getErrorUri() | 
public OauthErrorResponseException(@NonNull
                                   ErrorCode errorCode)
errorCode - the error codepublic OauthErrorResponseException(@NonNull
                                   ErrorCode errorCode,
                                   java.lang.String errorDescription,
                                   java.lang.String errorUri)
errorCode - The error codeerrorDescription - Human-readable ASCII [USASCII] text providing additional information, used to assist the client developer in understanding the errorCode that occurred.errorUri - URI identifying a human-readable web page with information about the errorCode@NonNull public ErrorCode getError()
getError in interface ErrorResponse@Nullable public java.lang.String getErrorDescription()
getErrorDescription in interface ErrorResponse@Nullable public java.lang.String getErrorUri()
getErrorUri in interface ErrorResponse