重载 DataNotExistsException 构造器

pull/1/head
ZhouXY108 2024-12-24 18:01:41 +08:00
parent 9f7eda47fe
commit 129ace6878
1 changed files with 9 additions and 1 deletions

View File

@ -27,10 +27,18 @@ public final class DataNotExistsException extends Exception {
private static final long serialVersionUID = 6536955800679703111L; private static final long serialVersionUID = 6536955800679703111L;
public DataNotExistsException() { public DataNotExistsException() {
super("数据不存在"); super();
} }
public DataNotExistsException(String message) { public DataNotExistsException(String message) {
super(message); super(message);
} }
public DataNotExistsException(Throwable cause) {
super(cause);
}
public DataNotExistsException(String message, Throwable cause) {
super(message, cause);
}
} }