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

com.github.xphsc.exception.UnexpectedFailureException Maven / Gradle / Ivy

There is a newer version: 1.2.3
Show newest version
package com.github.xphsc.exception;

/** 代表未预期的失败。
 * Created by ${huipei.x} on 2017-6-12.
 */
public class UnexpectedFailureException extends RuntimeException{

    private static final long serialVersionUID = -8227335536836081391L;

    /**
     * 构造一个空的异常.
     */
    public UnexpectedFailureException() {
        super();
    }

    /**
     * 构造一个异常, 指明异常的详细信息.
     *
     * @param message 详细信息
     */
    public UnexpectedFailureException(String message) {
        super(message);
    }

    /**
     * 构造一个异常, 指明引起这个异常的起因.
     *
     * @param cause 异常的起因
     */
    public UnexpectedFailureException(Throwable cause) {
        super(cause);
    }

    /**
     * 构造一个异常, 指明引起这个异常的起因.
     *
     * @param message 详细信息
     * @param cause 异常的起因
     */
    public UnexpectedFailureException(String message, Throwable cause) {
        super(message, cause);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy