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

develop.toolkit.base.exception.FormatRuntimeException Maven / Gradle / Ivy

package develop.toolkit.base.exception;

/**
 * 带格式化的运行时异常
 *
 * @author qiushui
 */
@SuppressWarnings("unused")
public abstract class FormatRuntimeException extends RuntimeException{

    public FormatRuntimeException() {
    }

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

    public FormatRuntimeException(String format, Object... parameters) {
        this(String.format(format, parameters));
    }

    public FormatRuntimeException(String message, Throwable cause) {
        super(message, cause);
    }

    public FormatRuntimeException(String format, Throwable cause, Object... parameters) {
        this(String.format(format, parameters), cause);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy