mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
add constructor
This commit is contained in:
@@ -27,8 +27,8 @@ 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(String message, Throwable throwable, boolean enableSuppression, boolean writableStackTrace) {
|
||||
super(message, throwable, enableSuppression, writableStackTrace);
|
||||
}
|
||||
|
||||
public DependencyException(Throwable throwable, String messageTemplate, Object... params) {
|
||||
|
@@ -26,8 +26,8 @@ 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(String message, Throwable throwable, boolean enableSuppression, boolean writableStackTrace) {
|
||||
super(message, throwable, enableSuppression, writableStackTrace);
|
||||
}
|
||||
|
||||
public NotInitedException(Throwable throwable, String messageTemplate, Object... params) {
|
||||
|
@@ -6,7 +6,6 @@ import cn.hutool.core.util.StrUtil;
|
||||
* 带有状态码的异常
|
||||
*
|
||||
* @author xiaoleilu
|
||||
*
|
||||
*/
|
||||
public class StatefulException extends RuntimeException {
|
||||
private static final long serialVersionUID = 6057602589533840889L;
|
||||
@@ -33,8 +32,8 @@ 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(String message, Throwable throwable, boolean enableSuppression, boolean writableStackTrace) {
|
||||
super(message, throwable, enableSuppression, writableStackTrace);
|
||||
}
|
||||
|
||||
public StatefulException(int status, String msg) {
|
||||
|
@@ -4,9 +4,10 @@ import cn.hutool.core.util.StrUtil;
|
||||
|
||||
/**
|
||||
* 工具类异常
|
||||
*
|
||||
* @author xiaoleilu
|
||||
*/
|
||||
public class UtilException extends RuntimeException{
|
||||
public class UtilException extends RuntimeException {
|
||||
private static final long serialVersionUID = 8247610319171014183L;
|
||||
|
||||
public UtilException(Throwable e) {
|
||||
@@ -25,8 +26,8 @@ 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(String message, Throwable throwable, boolean enableSuppression, boolean writableStackTrace) {
|
||||
super(message, throwable, enableSuppression, writableStackTrace);
|
||||
}
|
||||
|
||||
public UtilException(Throwable throwable, String messageTemplate, Object... params) {
|
||||
|
Reference in New Issue
Block a user