outofrangeexception.java

来自「ssd3的教程 是我们老师给我们的 纯英文 有兴趣的可以」· Java 代码 · 共 28 行

JAVA
28
字号
/**
 * Thrown when an out-of-range error occurs.
 *
 * @author author name
 * @version 1.0.0
 */
public class OutOfRangeException extends Exception  {

    /**
     * Constructs a new instance of <code>OutOfRangeException</code>.
     */
    public OutOfRangeException() {
    }

    /**
     * Constructs a new instance of <code>OutOfRangeException</code>
     * that includes an explanation.
     *
     * @param message  Additional information about this exception.
     *                 Can be null.
     */
    public OutOfRangeException(String message) {

        super(message);
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?