outofrangeexception.java
来自「一些JAVA程序」· Java 代码 · 共 30 行
JAVA
30 行
/*!Begin Snippet:file*/
/**
* Thrown when an out-of-range error occurs.
*
* @author iCarnegie
* @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);
}
}
/*!End Snippet:file*/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?