Package org.keycloak.exceptions
Class TokenVerificationException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- org.keycloak.common.VerificationException
- 
- org.keycloak.exceptions.TokenVerificationException
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 - Direct Known Subclasses:
- ExplainedTokenVerificationException,- TokenNotActiveException,- TokenSignatureInvalidException
 
 public class TokenVerificationException extends VerificationException Exception thrown on failed verification of a token.- Author:
- hmlnarik
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description TokenVerificationException(JsonWebToken token)TokenVerificationException(JsonWebToken token, String message)TokenVerificationException(JsonWebToken token, String message, Throwable cause)TokenVerificationException(JsonWebToken token, Throwable cause)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonWebTokengetToken()- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
TokenVerificationExceptionpublic TokenVerificationException(JsonWebToken token) 
 - 
TokenVerificationExceptionpublic TokenVerificationException(JsonWebToken token, String message) 
 - 
TokenVerificationExceptionpublic TokenVerificationException(JsonWebToken token, String message, Throwable cause) 
 - 
TokenVerificationExceptionpublic TokenVerificationException(JsonWebToken token, Throwable cause) 
 
- 
 - 
Method Detail- 
getTokenpublic JsonWebToken getToken() 
 
- 
 
-