Class StaleStatementException

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Iterable<java.lang.Throwable>

    public class StaleStatementException
    extends StaleConnectionException
    StaleStatementException is a special type of StaleConnectionException, used internally, which signals that all cached statements are bad and should be destroyed. Statements currently in use are also bad and therefore the corresponding Connection is also marked Stale.
    See Also:
    Serialized Form
    • 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

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • StaleStatementException

        public StaleStatementException​(java.sql.SQLException nativeException)
      • StaleStatementException

        public StaleStatementException​(java.lang.String reason)
      • StaleStatementException

        public StaleStatementException()
      • StaleStatementException

        public StaleStatementException​(java.lang.String reason,
                                       java.lang.String state,
                                       int errCode)