shikeying
2024-01-11 3b67e947e36133e2a40eb2737b15ea375e157ea0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package com.walker.remote;
 
import com.walker.infrastructure.core.NestedRuntimeException;
 
public class RemoteAccessorException extends NestedRuntimeException {
 
    /**
     * 
     */
    private static final long serialVersionUID = -4533512494265168359L;
    
    private boolean serverFailed = false;
 
    public boolean isServerFailed() {
        return serverFailed;
    }
 
    public RemoteAccessorException(){
        super("remote exception.");
    }
    
    public RemoteAccessorException(String msg){
        super(msg);
    }
    
    public RemoteAccessorException(String msg, Throwable cause){
        super(msg, cause);
    }
    
    public RemoteAccessorException(String msg, Throwable cause, boolean serverFailed){
        super(msg, cause);
        this.serverFailed = serverFailed;
    }
}