2020-02-13 10:48:51 +08:00
|
|
|
package com.ruoyi.common.exception;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 工具类异常
|
2021-10-22 10:04:15 +08:00
|
|
|
*
|
2020-02-13 10:48:51 +08:00
|
|
|
* @author ruoyi
|
|
|
|
*/
|
2021-10-22 10:04:15 +08:00
|
|
|
public class UtilException extends RuntimeException {
|
2020-02-13 10:48:51 +08:00
|
|
|
private static final long serialVersionUID = 8247610319171014183L;
|
|
|
|
|
2021-10-22 10:04:15 +08:00
|
|
|
public UtilException(Throwable e) {
|
2020-02-13 10:48:51 +08:00
|
|
|
super(e.getMessage(), e);
|
|
|
|
}
|
|
|
|
|
2021-10-22 10:04:15 +08:00
|
|
|
public UtilException(String message) {
|
2020-02-13 10:48:51 +08:00
|
|
|
super(message);
|
|
|
|
}
|
|
|
|
|
2021-10-22 10:04:15 +08:00
|
|
|
public UtilException(String message, Throwable throwable) {
|
2020-02-13 10:48:51 +08:00
|
|
|
super(message, throwable);
|
|
|
|
}
|
|
|
|
}
|