重载 DataNotExistsException 构造器
parent
9f7eda47fe
commit
129ace6878
|
@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue