java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
com.aoapps.sql.failfast.FailFastSQLException
com.aoapps.sql.failfast.TerminalSQLException
- All Implemented Interfaces:
Serializable
,Iterable<Throwable>
- Direct Known Subclasses:
AbortedSQLException
,ClosedSQLException
An exception that puts a connection into a terminal state. Once in a terminal state, the state cannot be
replaced or
cleared.
- Author:
- AO Industries, Inc.
- See Also:
-
Constructor Summary
ModifierConstructorDescriptionprotected
TerminalSQLException
(String reason) Deprecated.protected
TerminalSQLException
(String reason, String sqlState) Creates a new exception that puts a connection into a terminal state.protected
TerminalSQLException
(String reason, String sqlState, int vendorCode, Throwable cause) Creates a new exception that puts a connection into a terminal state. -
Method Summary
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, iterator, setNextException
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
TerminalSQLException
Creates a new exception that puts a connection into a terminal state. -
TerminalSQLException
Deprecated.Please provide SQLSTATE toTerminalSQLException(java.lang.String, java.lang.String)
Creates a new exception that puts a connection into a terminal state. -
TerminalSQLException
Creates a new exception that puts a connection into a terminal state.
-
TerminalSQLException(java.lang.String, java.lang.String)