All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.lulihu.exception.ToolBoxException Maven / Gradle / Ivy

package net.lulihu.exception;


import net.lulihu.ObjectKit.StrKit;

/**
 * 工具类异常
 */
public class ToolBoxException extends RuntimeException {

    public ToolBoxException(Throwable e) {
        super(e);
    }

    public ToolBoxException(String message) {
        super(message);
    }

    public ToolBoxException(String messageTemplate, Object... params) {
        super(StrKit.format(messageTemplate, params));
    }

    public ToolBoxException(String message, Throwable throwable) {
        super(message, throwable);
    }

    public ToolBoxException(Throwable throwable, String messageTemplate, Object... params) {
        super(StrKit.format(messageTemplate, params), throwable);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy