Class EmptyTokenException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
tech.lastbox.lastshield.security.core.EmptyTokenException
All Implemented Interfaces:
Serializable

public class EmptyTokenException extends RuntimeException
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 Details

    • EmptyTokenException

      public EmptyTokenException()
      Constructs a new EmptyTokenException with the default message "Empty token".