public class FatalSQLException
extends java.sql.SQLException
original plain SQLException
just in case you need it.ConnectionPoolDefinitionIF.getFatalSqlExceptions(),
Serialized Form| Constructor 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, setNextExceptionaddSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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.ThrowableThrowable.getCause()public java.sql.SQLException getOriginalSQLException()