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