Package com.ibm.websphere.ce.cm
Class StaleConnectionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.sql.SQLException
-
- com.ibm.websphere.ce.cm.PortableSQLException
-
- com.ibm.websphere.ce.cm.StaleConnectionException
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Iterable<java.lang.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StaleConnectionException()
StaleConnectionException(java.lang.String reason)
StaleConnectionException(java.lang.String reason, java.lang.String state, int errCode)
StaleConnectionException(java.sql.SQLException nativeException)
-
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
-
-
-
-
Constructor Detail
-
StaleConnectionException
public StaleConnectionException(java.sql.SQLException nativeException)
-
StaleConnectionException
public StaleConnectionException(java.lang.String reason)
-
StaleConnectionException
public StaleConnectionException()
-
StaleConnectionException
public StaleConnectionException(java.lang.String reason, java.lang.String state, int errCode)
-
-