?? wrongtimeexception.java
字號:
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package exception;import java.io.*;/** * 這個方法處理時間輸入異常 * @author zouhao */public class WrongTimeException extends Exception{ public WrongTimeException() { System.out.println("The time inputed is wrong!"); }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -