daoruntimeexception.java

来自「java编程中的DAO模式举例,其他人不需帐号就可自由下载此源码」· Java 代码 · 共 49 行

JAVA
49
字号
// $Header: /cvsroot/daoexamples/daoexamples/src/java/daoexamples/exception/DAORuntimeException.java,v 1.2 2003/08/04 04:03:28 sullis Exp $ 

/*
 * 
 *
 * 
 * 
 */
package daoexamples.exception;

import org.apache.commons.lang.exception.*;

/**
 * 
 * 
 * Because we want this class to be compatible with
 * J2SE 1.3.x and IBM Websphere 5.x, we can't use
 * the "chained exception" capabilities from J2SE 1.4
 *
 * Due to this requirement, this class will extend   
 * NestableRuntimeException, provided by the 
 * Jakarta Commons Lang library.
 *  
 * @author Sean C. Sullivan
 *
 */
public class DAORuntimeException 
	extends NestableRuntimeException
{
	public DAORuntimeException(final Throwable cause)
	{
		super(cause);	
	}
	
	public DAORuntimeException(
				final String msg,
				final Throwable cause)
	{
		super(msg, cause);	
	}
	
	public DAORuntimeException(
				final String msg)
	{
		super(msg);	
	}
	
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?