Package com.ibm.websphere.ce.cm
Class PortableSQLException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.sql.SQLException
-
- com.ibm.websphere.ce.cm.PortableSQLException
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Iterable<java.lang.Throwable>
- Direct Known Subclasses:
DuplicateKeyException
,StaleConnectionException
public abstract class PortableSQLException extends java.sql.SQLException
Abtract base class for Portability Layer generic exception hierarchy; the Portability Layer attempts to map database-specific exceptions into one of the subclasses of PortableSQLException. Mapping is typically performed based on the error code contained in the original exception, though other mechanisms may be used, depending on the behavior of the database.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PortableSQLException(java.lang.String reason, java.lang.String state, int errCode)
-
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
-
-