5 小时以前 9bad721754fe8bbe2e5f459d0706e0fefac569f3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package cn.iocoder.yudao.module.qcreport.engine.rule;
 
/**
 * 规则文本存在语法错误。
 */
public class RuleSyntaxException extends RuntimeException {
 
    /** 出错位置在规则文本中的下标(从 0 开始) */
    private final transient int position;
 
    public RuleSyntaxException(String message, int position) {
        super(message);
        this.position = position;
    }
 
    public int position() {
        return position;
    }
 
}