📄 serviceexception.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -