Package org.pac4j.oauth.exception
Class OAuthCredentialsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.pac4j.core.exception.TechnicalException
org.pac4j.core.exception.CredentialsException
org.pac4j.oauth.exception.OAuthCredentialsException
- All Implemented Interfaces:
Serializable
public class OAuthCredentialsException
extends org.pac4j.core.exception.CredentialsException
This class represents an exception occurring during OAuth credentials retrieval.
- Since:
- 1.3.0
- Author:
- Jerome Leleu
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOAuthCredentialsException(String message) Constructor for OAuthCredentialsException. -
Method Summary
Modifier and TypeMethodDescriptiongetError()getError.getErrorDescription.Getter for the fielderrorMessages.getErrorReason.getErrorUri.voidsetErrorMessage(String name, String message) setErrorMessage.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
ERROR
ConstantERROR="error"- See Also:
-
ERROR_REASON
ConstantERROR_REASON="error_reason"- See Also:
-
ERROR_DESCRIPTION
ConstantERROR_DESCRIPTION="error_description"- See Also:
-
ERROR_NAMES
ConstantERROR_NAMES
-
-
Constructor Details
-
OAuthCredentialsException
Constructor for OAuthCredentialsException.
- Parameters:
message- aStringobject
-
-
Method Details
-
setErrorMessage
setErrorMessage.
-
getErrorMessages
Getter for the field
errorMessages.- Returns:
- a
Mapobject
-
getError
getError.
- Returns:
- a
Stringobject
-
getErrorReason
getErrorReason.
- Returns:
- a
Stringobject
-
getErrorDescription
getErrorDescription.
- Returns:
- a
Stringobject
-
getErrorUri
getErrorUri.
- Returns:
- a
Stringobject
-