?? infoexception.java
字號:
/**
*
*/
package agenda.model;
/**
* self-define exception for information validation
* @author Cyberpet
*
*/
public class InfoException extends Exception{
/**
*
*/
private static final long serialVersionUID = 3964429203517189835L;
private String msg;
/**
* @param msg the msg to set
*/
public void setMsg(String msg) {
this.msg = msg;
}
public InfoException(String msg){
this.setMsg(msg);
}
public String getMessage(){
return this.msg;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -