?? dataaccessexception.java.svn-base
字號:
/**
* Copyright: Copyright (c) 2004 Handson
* Description:
* Title: DataAccessException.java
* @author Administrator
* Create Time: ????11:45:43
* @Version:1.0
*/
package cn.handson.model.service.exception;
/**
* @author Administrator
*
*/
public class DataAccessException extends RuntimeException {
/**
*
*/
private static final long serialVersionUID = 1L;
private Throwable exceptionCause = null;
public DataAccessException(String exceptionMsg) {
super(exceptionMsg);
}
public DataAccessException(String exceptionMsg, Throwable throwable) {
super(exceptionMsg);
this.exceptionCause = throwable;
}
public void printStackTrace() {
if (exceptionCause != null) {
System.err.println("A data access error has occured:");
exceptionCause.printStackTrace();
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -