Class PortableSQLException

All Implemented Interfaces:
Serializable, Iterable<Throwable>
Direct Known Subclasses:
DuplicateKeyException, StaleConnectionException

public abstract class PortableSQLException extends 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:
  • Constructor Details

    • PortableSQLException

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