Class ExplainedTokenVerificationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.keycloak.common.VerificationException
org.keycloak.exceptions.TokenVerificationException
org.keycloak.authentication.actiontoken.ExplainedTokenVerificationException
- All Implemented Interfaces:
Serializable
Token verification exception that bears an error to be logged via event system
and a message to show to the user e.g. via
ErrorPage.error()
.- Author:
- hmlnarik
- See Also:
-
Constructor Summary
ConstructorDescriptionExplainedTokenVerificationException
(JsonWebToken token, String errorEvent) ExplainedTokenVerificationException
(JsonWebToken token, String errorEvent, String message) ExplainedTokenVerificationException
(JsonWebToken token, String errorEvent, String message, Throwable cause) ExplainedTokenVerificationException
(JsonWebToken token, String errorEvent, Throwable cause) -
Method Summary
Methods inherited from class org.keycloak.exceptions.TokenVerificationException
getToken
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExplainedTokenVerificationException
public ExplainedTokenVerificationException(JsonWebToken token, ExplainedVerificationException cause) -
ExplainedTokenVerificationException
-
ExplainedTokenVerificationException
-
ExplainedTokenVerificationException
public ExplainedTokenVerificationException(JsonWebToken token, String errorEvent, String message, Throwable cause) -
ExplainedTokenVerificationException
-
-
Method Details
-
getErrorEvent
-