1
0
mirror of https://github.com/FatttSnake/Pinnacle-OA.git synced 2026-04-06 07:21:24 +08:00

Optimized exception interceptor

This commit is contained in:
2023-06-02 01:31:13 +08:00
parent 17aa75fd66
commit 505e32d17d
10 changed files with 110 additions and 52 deletions

View File

@@ -0,0 +1,23 @@
package com.cfive.pinnacle.exception;
public class TokenHasExpiredException extends RuntimeException {
public TokenHasExpiredException() {
super("Token has expired");
}
public TokenHasExpiredException(String message) {
super(message);
}
public TokenHasExpiredException(String message, Throwable cause) {
super(message, cause);
}
public TokenHasExpiredException(Throwable cause) {
super(cause);
}
public TokenHasExpiredException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
super(message, cause, enableSuppression, writableStackTrace);
}
}