Class FailedToCleanRevokedTokensException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.example.blogs.app.api.auth.exception.FailedToCleanRevokedTokensException
- All Implemented Interfaces:
Serializable
Thrown when a database error occurs during scheduled cleanup of expired revoked tokens.
This exception is mapped to HTTP 500 Internal Server Error status.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new FailedToCleanRevokedTokensException with the underlying cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FailedToCleanRevokedTokensException
Constructs a new FailedToCleanRevokedTokensException with the underlying cause.- Parameters:
cause- the underlying cause of the exception
-