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
35
package com.walker.semantics;
 
import com.walker.infrastructure.ApplicationException;
 
public class ExtractorException extends ApplicationException {
 
    public ExtractorException(String msg){
        super(msg);
    }
 
    public ExtractorException(String msg, String source, Throwable caution){
        super(msg, caution);
        this.source = source;
    }
    public ExtractorException(String msg, String source, boolean inputLowError){
        super(msg);
        this.source = source;
        this.inputLowError = inputLowError;
    }
 
    public String getSource() {
        return source;
    }
 
    /**
     * 输入内容过少
     * @return
     */
    public boolean isInputLowError() {
        return inputLowError;
    }
 
    private boolean inputLowError = false;
    private String source;
}