Package ai.yda.framework.channel.shared
Class TokenAuthenticationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.security.core.AuthenticationException
ai.yda.framework.channel.shared.TokenAuthenticationException
- All Implemented Interfaces:
Serializable
public class TokenAuthenticationException
extends org.springframework.security.core.AuthenticationException
Thrown if an authentication request is rejected because the token is invalid.
- Since:
- 0.1.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newTokenAuthenticationExceptioninstance with the predefined message "Authentication token is invalid". -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TokenAuthenticationException
public TokenAuthenticationException()Constructs a newTokenAuthenticationExceptioninstance with the predefined message "Authentication token is invalid".
-