elementnotfoundexception.java
来自「一个普通的计算器程序」· Java 代码 · 共 19 行
JAVA
19 行
//********************************************************************
// ElementNotFoundException.java Authors: Lewis/Chase
//
// Represents the situation in which a target element is not
// present in a collection
//********************************************************************
package jss2.exceptions;
public class ElementNotFoundException extends RuntimeException
{
/******************************************************************
Sets up this exception with an appropriate message.
******************************************************************/
public ElementNotFoundException (String collection)
{
super ("The target element is not in this " + collection);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?