Class FailedToRevokeTokenException

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

public class FailedToRevokeTokenException extends RuntimeException
Thrown when a database error occurs while attempting to persist a revoked token. This exception is mapped to HTTP 500 Internal Server Error status.
See Also:
  • Constructor Details

    • FailedToRevokeTokenException

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