Class EmptyTokenException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
tech.lastbox.lastshield.security.core.EmptyTokenException
- All Implemented Interfaces:
Serializable
EmptyTokenException is a custom exception that extends RuntimeException.
This exception is thrown when an expected token is empty or missing in the application context.
It provides a default error message, "Empty token", indicating that a required token was not provided or was empty during some operation, such as authentication or authorization.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newEmptyTokenExceptionwith the default message "Empty token". -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EmptyTokenException
public EmptyTokenException()Constructs a newEmptyTokenExceptionwith the default message "Empty token".
-