疯狂的狮子Li
2022-01-09 7487c92a523ae979f8fc1875b129c64f3b5f12e4
ruoyi-common/src/main/java/com/ruoyi/common/exception/UtilException.java
@@ -1,26 +1,22 @@
package com.ruoyi.common.exception;
/**
 * 工具类异常
 *
 * @author ruoyi
 */
public class UtilException extends RuntimeException
{
    private static final long serialVersionUID = 8247610319171014183L;
    public UtilException(Throwable e)
    {
        super(e.getMessage(), e);
    }
    public UtilException(String message)
    {
        super(message);
    }
    public UtilException(String message, Throwable throwable)
    {
        super(message, throwable);
    }
}
package com.ruoyi.common.exception;
/**
 * 工具类异常
 *
 * @author ruoyi
 */
public class UtilException extends RuntimeException {
    private static final long serialVersionUID = 8247610319171014183L;
    public UtilException(Throwable e) {
        super(e.getMessage(), e);
    }
    public UtilException(String message) {
        super(message);
    }
    public UtilException(String message, Throwable throwable) {
        super(message, throwable);
    }
}