Class TokenAlreadyRevokedException

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

public class TokenAlreadyRevokedException extends RuntimeException
Thrown when attempting to revoke a token that has already been revoked. This exception is mapped to HTTP 409 Conflict status.
See Also:
  • Constructor Details

    • TokenAlreadyRevokedException

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