com.xiaoleilu.hutool.setting.SettingException Maven / Gradle / Ivy
package com.xiaoleilu.hutool.setting;
import com.xiaoleilu.hutool.util.StrUtil;
/**
* 设置异常
* @author xiaoleilu
*/
public class SettingException extends Exception{
private static final long serialVersionUID = -4134588858314744501L;
public SettingException(Throwable e) {
super(e);
}
public SettingException(String message) {
super(message);
}
public SettingException(String messageTemplate, Object... params) {
super(StrUtil.format(messageTemplate, params));
}
public SettingException(String message, Throwable throwable) {
super(message, throwable);
}
public SettingException(Throwable throwable, String messageTemplate, Object... params) {
super(StrUtil.format(messageTemplate, params), throwable);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy