mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
commit
c0510a4c66
@ -27,6 +27,10 @@ public class DependencyException extends RuntimeException {
|
||||
super(message, throwable);
|
||||
}
|
||||
|
||||
public DependencyException( String message, Throwable throwable,boolean enableSuppression,boolean writableStackTrace) {
|
||||
super(message, throwable,enableSuppression,writableStackTrace);
|
||||
}
|
||||
|
||||
public DependencyException(Throwable throwable, String messageTemplate, Object... params) {
|
||||
super(StrUtil.format(messageTemplate, params), throwable);
|
||||
}
|
||||
|
@ -26,6 +26,10 @@ public class NotInitedException extends RuntimeException {
|
||||
super(message, throwable);
|
||||
}
|
||||
|
||||
public NotInitedException( String message, Throwable throwable,boolean enableSuppression,boolean writableStackTrace) {
|
||||
super(message, throwable,enableSuppression,writableStackTrace);
|
||||
}
|
||||
|
||||
public NotInitedException(Throwable throwable, String messageTemplate, Object... params) {
|
||||
super(StrUtil.format(messageTemplate, params), throwable);
|
||||
}
|
||||
|
@ -33,6 +33,10 @@ public class StatefulException extends RuntimeException {
|
||||
super(msg, throwable);
|
||||
}
|
||||
|
||||
public StatefulException( String message, Throwable throwable,boolean enableSuppression,boolean writableStackTrace) {
|
||||
super(message, throwable,enableSuppression,writableStackTrace);
|
||||
}
|
||||
|
||||
public StatefulException(int status, String msg) {
|
||||
super(msg);
|
||||
this.status = status;
|
||||
|
@ -25,6 +25,10 @@ public class UtilException extends RuntimeException{
|
||||
super(message, throwable);
|
||||
}
|
||||
|
||||
public UtilException( String message, Throwable throwable,boolean enableSuppression,boolean writableStackTrace) {
|
||||
super(message, throwable,enableSuppression,writableStackTrace);
|
||||
}
|
||||
|
||||
public UtilException(Throwable throwable, String messageTemplate, Object... params) {
|
||||
super(StrUtil.format(messageTemplate, params), throwable);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user