serviceexception.java
来自「hibernate for ORM, suit for hsql/mysql/o」· Java 代码 · 共 31 行
JAVA
31 行
package cs636.techconf.service;
/**
* @author Saaid Baraty
*
* This exception is thrown from business logic layer
* to presentation layer. So the presentation layer
* gets more generic errors than the SQLExceptions
* thrown by the DAO layer.
*/
public class ServiceException extends Exception {
/**
* To satisfy Exception handling, avoid a warning, define a UID--
*/
private static final long serialVersionUID = 1L;
public ServiceException() {
super();
}
public ServiceException(String arg0) {
super(arg0);
}
public ServiceException(String reason, Throwable cause){
super(reason, cause);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?