新增远程调用异常类

This commit is contained in:
wanggeng 2021-09-19 23:36:10 +08:00
parent 2aaf38f191
commit d1223da19c
2 changed files with 67 additions and 0 deletions

View File

@ -0,0 +1,33 @@
package ink.wgink.exceptions.remote;
import ink.wgink.exceptions.base.SystemException;
/**
* @ClassName: RemoteRequestException
* @Description: 远程调用异常
* @Author: wanggeng
* @Date: 2021/9/19 9:01 下午
* @Version: 1.0
*/
public class RemoteRequestException extends SystemException {
public RemoteRequestException() {
super();
}
public RemoteRequestException(String message) {
super(message);
}
public RemoteRequestException(String message, boolean withMsg) {
super(message, withMsg);
}
public RemoteRequestException(String message, Throwable cause) {
super(message, cause);
}
public RemoteRequestException(Throwable cause) {
super(cause);
}
}

View File

@ -0,0 +1,34 @@
package ink.wgink.exceptions.remote;
import ink.wgink.exceptions.base.SystemException;
/**
* @ClassName: RemoteException
* @Description: 远程响应异常
* @Author: wanggeng
* @Date: 2021/9/19 8:58 下午
* @Version: 1.0
*/
public class RemoteResponseException extends SystemException {
public RemoteResponseException() {
super();
}
public RemoteResponseException(String message) {
super(message);
}
public RemoteResponseException(String message, boolean withMsg) {
super(message, withMsg);
}
public RemoteResponseException(String message, Throwable cause) {
super(message, cause);
}
public RemoteResponseException(Throwable cause) {
super(cause);
}
}