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 CredentialsException
This class represents an exception occurring during OAuth credentials retrieval.- Since:
- 1.3.0
- Author:
- Jerome Leleu
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ERROR
static String
ERROR_DESCRIPTION
static List<String>
ERROR_NAMES
static String
ERROR_REASON
-
Constructor Summary
Constructors Constructor Description OAuthCredentialsException(String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getError()
String
getErrorDescription()
Map<String,String>
getErrorMessages()
String
getErrorReason()
String
getErrorUri()
void
setErrorMessage(String name, String message)
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
ERROR
public static final String ERROR
- See Also:
- Constant Field Values
-
ERROR_REASON
public static final String ERROR_REASON
- See Also:
- Constant Field Values
-
ERROR_DESCRIPTION
public static final String ERROR_DESCRIPTION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OAuthCredentialsException
public OAuthCredentialsException(String message)
-
-