Files
Java/src/main/java/com/company/auth/exception/TokenRefreshException.java
David Melendez 1c026c7be8 init commit
2026-01-14 22:41:30 +01:00

35 lines
846 B
Java

/**
* 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);
}
}