init commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
/**
|
||||
* Token Refresh Exception
|
||||
*
|
||||
* Thrown when token refresh operation fails.
|
||||
*
|
||||
* @author David Valera Melendez <david@valera-melendez.de>
|
||||
* @since February 2025
|
||||
*/
|
||||
package com.company.auth.exception;
|
||||
|
||||
/**
|
||||
* Exception thrown when token refresh fails
|
||||
*/
|
||||
public class TokenRefreshException extends RuntimeException {
|
||||
|
||||
/**
|
||||
* Constructs a new TokenRefreshException with the specified detail message.
|
||||
*
|
||||
* @param message the detail message
|
||||
*/
|
||||
public TokenRefreshException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructs a new TokenRefreshException with the specified detail message and cause.
|
||||
*
|
||||
* @param message the detail message
|
||||
* @param cause the cause
|
||||
*/
|
||||
public TokenRefreshException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user