org.logicalcobwebs.proxool
public class FatalSQLException extends java.sql.SQLException
original
plain SQLException
just in case you need it.ConnectionPoolDefinitionIF.getFatalSqlExceptions()
,
Serialized FormConstructor and Description |
---|
FatalSQLException(java.sql.SQLException cause) |
FatalSQLException(java.sql.SQLException cause,
java.lang.String reason,
java.lang.String sqlState) |
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
getCause()
Same as
getOriginalSQLException() |
java.sql.SQLException |
getOriginalSQLException()
Get the SQLException that was detected as being fatal
|
getErrorCode, getNextException, getSQLState, iterator, setNextException
public FatalSQLException(java.sql.SQLException cause)
public FatalSQLException(java.sql.SQLException cause, java.lang.String reason, java.lang.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)
public java.lang.Throwable getCause()
getOriginalSQLException()
getCause
in class java.lang.Throwable
Throwable.getCause()
public java.sql.SQLException getOriginalSQLException()