?? systemexception.java
字號:
package com.set.appframe.exception;
/**
* <p>
* Title: 框架
* </p>
*
* <p>
* Description: 系統錯誤的異常,一般系統錯誤可視為checked Exception
* </p>
*
* <p>
* Copyright: Copyright (c) 2005
* </p>
*
* <p>
* Company:
* </p>
*
* @author zhifeng
* @version 1.0
*/
public class SystemException extends Exception {
private String key = "";
public SystemException() {
super();
}
public SystemException(String msgKey) {
super(msgKey);
this.key = msgKey;
}
public SystemException(String msgKey, Throwable cause) {
super(msgKey, cause);
this.key = msgKey;
}
public SystemException(Throwable cause) {
super(cause);
this.key = cause.getMessage();
}
public String getKey() {
return key;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -