新增远程调用异常类
This commit is contained in:
parent
2aaf38f191
commit
d1223da19c
@ -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);
|
||||||
|
}
|
||||||
|
}
|
@ -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);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user