numoflinesexception.java
来自「Thinking in Java 是学习JAVA的经典教材」· Java 代码 · 共 14 行
JAVA
14 行
//: com:bruceeckel:simpletest:NumOfLinesException.java
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
package com.bruceeckel.simpletest;
public class NumOfLinesException
extends SimpleTestException {
public NumOfLinesException(String className,
int exp, int out) {
super(className, "num of lines of output and "
+ "expected output did not match expected: <" + exp
+ "> lines output: <" + out + "> lines)");
}
} ///:~
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?