Class StaleConnectionException

All Implemented Interfaces:
Serializable, Iterable<Throwable>
Direct Known Subclasses:
ObjectClosedException, StaleStatementException

public class StaleConnectionException extends PortableSQLException
Indicates that the connection has somehow become damaged and should be discarded (e.g. due to database crash or connectivity problem). Work done on the connection has been (will be) lost, but the system may be able to continue by obtaining a new connection and redoing the work.
See Also:
  • Constructor Details

    • StaleConnectionException

      public StaleConnectionException(SQLException nativeException)
    • StaleConnectionException

      public StaleConnectionException(String reason)
    • StaleConnectionException

      public StaleConnectionException()
    • StaleConnectionException

      public StaleConnectionException(String reason, String state, int errCode)