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(SQLException cause)
           
FatalSQLException(SQLException cause, String reason, String sqlState)
           
 
方法摘要
 Throwable getCause()
          Same as getOriginalSQLException()
 SQLException getOriginalSQLException()
          Get the SQLException that was detected as being fatal
 
从类 java.sql.SQLException 继承的方法
getErrorCode, getNextException, getSQLState, iterator, setNextException
 
从类 java.lang.Throwable 继承的方法
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

FatalSQLException

public FatalSQLException(SQLException cause)

FatalSQLException

public FatalSQLException(SQLException cause,
                         String reason,
                         String sqlState)
参数:
cause - the SQLException that was detected as being fatal
reason - 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.