public class FatalSQLException
extends java.sql.SQLException
original
plain SQLException
just in case you need it.ConnectionPoolDefinitionIF.getFatalSqlExceptions()
,
Serialized FormConstructor | Description |
---|---|
FatalSQLException(java.sql.SQLException cause) |
|
FatalSQLException(java.sql.SQLException cause,
java.lang.String reason,
java.lang.String sqlState) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Throwable |
getCause() |
Same as
getOriginalSQLException() |
java.sql.SQLException |
getOriginalSQLException() |
Get the SQLException that was detected as being fatal
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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 {@link super#SQLException(java.lang.String, java.lang.String)}sqlState
- see {@link 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()