Class OAuth2AuthenticationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.codename1.backend.security.AuthenticationException
com.codename1.backend.security.oauth2.core.OAuth2AuthenticationException
- Direct Known Subclasses:
InvalidBearerTokenException
An authentication that failed for a reason OAuth 2.0 has a code for.
-
Constructor Summary
ConstructorsConstructorDescriptionOAuth2AuthenticationException(OAuth2Error error, String message) OAuth2AuthenticationException(OAuth2Error error, String message, Throwable cause) -
Method Summary
Methods inherited from class Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
OAuth2AuthenticationException
-
OAuth2AuthenticationException
-
OAuth2AuthenticationException
-
-
Method Details
-
getError
The error, with its code.
-