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
public class ExplainedTokenVerificationException extends TokenVerificationException
Token verification exception that bears an error to be logged via event system and a message to show to the user e.g. viaErrorPage.error()
.- Author:
- hmlnarik
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExplainedTokenVerificationException(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)
ExplainedTokenVerificationException(JsonWebToken token, ExplainedVerificationException cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getErrorEvent()
-
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 Detail
-
ExplainedTokenVerificationException
public ExplainedTokenVerificationException(JsonWebToken token, ExplainedVerificationException cause)
-
ExplainedTokenVerificationException
public ExplainedTokenVerificationException(JsonWebToken token, String errorEvent)
-
ExplainedTokenVerificationException
public ExplainedTokenVerificationException(JsonWebToken token, String errorEvent, String message)
-
ExplainedTokenVerificationException
public ExplainedTokenVerificationException(JsonWebToken token, String errorEvent, String message, Throwable cause)
-
ExplainedTokenVerificationException
public ExplainedTokenVerificationException(JsonWebToken token, String errorEvent, Throwable cause)
-
-
Method Detail
-
getErrorEvent
public String getErrorEvent()
-
-