org.logicalcobwebs.proxool
类 FatalSQLException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
org.logicalcobwebs.proxool.FatalSQLException
- 所有已实现的接口:
- Serializable, Iterable<Throwable>
public class FatalSQLException
- extends SQLException
A type of SQLException that has been defined as fatal. It contains
the original plain SQLException
just in case you need it.
- 版本:
- $Revision: 1.3 $, $Date: 2003/09/10 22:21:04 $
- 作者:
- billhorsman, $Author: chr32 $ (current maintainer)
- 另请参见:
ConnectionPoolDefinitionIF.getFatalSqlExceptions(),
序列化表格
FatalSQLException
public FatalSQLException(SQLException cause)
FatalSQLException
public FatalSQLException(SQLException cause,
String reason,
String sqlState)
- 参数:
cause - the SQLException that was detected as being fatalreason - see super#SQLException(java.lang.String, java.lang.String)sqlState - see super#SQLException(java.lang.String, java.lang.String)
getCause
public Throwable getCause()
- Same as
getOriginalSQLException()
- 覆盖:
- 类
Throwable 中的 getCause
- 另请参见:
Throwable.getCause()
getOriginalSQLException
public SQLException getOriginalSQLException()
- Get the SQLException that was detected as being fatal
- 返回:
- the original SQLException
Copyright © 2014. All rights reserved.