⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 serviceexception.java

📁 hibernate for ORM, suit for hsql/mysql/oracle
💻 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 + -