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; } }