Package org.keycloak.exceptions
Class TokenNotActiveException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- org.keycloak.common.VerificationException
- 
- org.keycloak.exceptions.TokenVerificationException
- 
- org.keycloak.exceptions.TokenNotActiveException
 
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class TokenNotActiveException extends TokenVerificationException Exception thrown for cases when token is invalid due to time constraints (expired, or not yet valid). Cf.JsonWebToken.isActive().- Author:
- hmlnarik
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description TokenNotActiveException(JsonWebToken token)TokenNotActiveException(JsonWebToken token, String message)TokenNotActiveException(JsonWebToken token, String message, Throwable cause)TokenNotActiveException(JsonWebToken token, Throwable cause)
 - 
Method Summary- 
Methods inherited from class org.keycloak.exceptions.TokenVerificationExceptiongetToken
 - 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
TokenNotActiveExceptionpublic TokenNotActiveException(JsonWebToken token) 
 - 
TokenNotActiveExceptionpublic TokenNotActiveException(JsonWebToken token, String message) 
 - 
TokenNotActiveExceptionpublic TokenNotActiveException(JsonWebToken token, String message, Throwable cause) 
 - 
TokenNotActiveExceptionpublic TokenNotActiveException(JsonWebToken token, Throwable cause) 
 
- 
 
-