Package com.ibm.websphere.ce.cm
Class StaleStatementException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.sql.SQLException
-
- com.ibm.websphere.ce.cm.PortableSQLException
-
- com.ibm.websphere.ce.cm.StaleConnectionException
-
- com.ibm.websphere.ce.cm.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
-
-
Constructor Summary
Constructors Constructor Description StaleStatementException()
StaleStatementException(java.lang.String reason)
StaleStatementException(java.lang.String reason, java.lang.String state, int errCode)
StaleStatementException(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
-
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)
-
-