java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
com.aoapps.sql.failfast.FailFastSQLException
- All Implemented Interfaces:
Serializable
,Iterable<Throwable>
- Direct Known Subclasses:
TerminalSQLException
An exception that is generated to enforce the fail-fast state.
- Author:
- AO Industries, Inc.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFailFastSQLException
(String reason) Deprecated.FailFastSQLException
(String reason, String sqlState) Creates an exception to enforce the fail-fast state.FailFastSQLException
(String reason, String sqlState, int vendorCode, Throwable cause) Creates an exception to enforce the fail-fast state.FailFastSQLException
(Throwable cause) Creates an exception to enforce the fail-fast 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
-
FailFastSQLException
Creates an exception to enforce the fail-fast state. -
FailFastSQLException
Deprecated.Please provide SQLSTATE toFailFastSQLException(java.lang.String, java.lang.String)
Creates an exception to enforce the fail-fast state. -
FailFastSQLException
Creates an exception to enforce the fail-fast state. -
FailFastSQLException
Creates an exception to enforce the fail-fast state.
-
FailFastSQLException(java.lang.String, java.lang.String)