Class FailedToCheckTokenRevokedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.example.blogs.app.api.auth.exception.FailedToCheckTokenRevokedException
All Implemented Interfaces:
Serializable

public class FailedToCheckTokenRevokedException extends RuntimeException
Thrown when a database error occurs while checking if a token has been revoked. This exception is mapped to HTTP 500 Internal Server Error status.
See Also:
  • Constructor Details

    • FailedToCheckTokenRevokedException

      public FailedToCheckTokenRevokedException(Exception cause)
      Constructs a new FailedToCheckTokenRevokedException with the underlying cause.
      Parameters:
      cause - the underlying cause of the exception