first
Some checks failed
Reduce Adoc / reduce (push) Failing after 57s
Java Unit Test with Maven / test (push) Failing after 1m42s

This commit is contained in:
2025-12-29 13:59:13 +08:00
commit 2dfed7464e
555 changed files with 35895 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
package com.alibaba.qlexpress4.exception;
/**
* user define error message for custom function/operator
* Author: DQinYuan
*/
public class UserDefineException extends Exception {
public enum ExceptionType {
INVALID_ARGUMENT, BIZ_EXCEPTION
};
private final ExceptionType type;
public UserDefineException(String message) {
this(ExceptionType.BIZ_EXCEPTION, message);
}
public UserDefineException(ExceptionType type, String message) {
super(message);
this.type = type;
}
public ExceptionType getType() {
return type;
}
}