top.coos.extra.qrcode.QrCodeException Maven / Gradle / Ivy
package top.coos.extra.qrcode;
import top.coos.core.exceptions.ExceptionUtil;
import top.coos.util.StringUtil;
/**
* Qrcode异常
*
*/
public class QrCodeException extends RuntimeException {
private static final long serialVersionUID = 8247610319171014183L;
public QrCodeException(Throwable e) {
super(ExceptionUtil.getMessage(e), e);
}
public QrCodeException(String message) {
super(message);
}
public QrCodeException(String messageTemplate, Object... params) {
super(StringUtil.format(messageTemplate, params));
}
public QrCodeException(String message, Throwable throwable) {
super(message, throwable);
}
public QrCodeException(Throwable throwable, String messageTemplate, Object... params) {
super(StringUtil.format(messageTemplate, params), throwable);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy