疯狂的狮子li
2021-11-17 1c8d44b3094b0f0bae18abeb5fffc8b59c50f9b7
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);
    }
}