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:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user