29 lines
484 B
Java
29 lines
484 B
Java
package com.bwie.common.exception;
|
|
|
|
/**
|
|
* @Author: zhx
|
|
* @Package: com.bwie.common.exception
|
|
* @Datetime: 2023/12/19 16:33
|
|
* @Filename: AuthException
|
|
*/
|
|
|
|
public class AuthException extends RuntimeException{
|
|
|
|
private int code;
|
|
|
|
private String message;
|
|
|
|
public AuthException(){}
|
|
|
|
public AuthException(String message){
|
|
super(message);
|
|
}
|
|
public AuthException(int code ,String message){
|
|
this.code=code;
|
|
this.message=message;
|
|
}
|
|
|
|
|
|
|
|
}
|