1.2 Exceptions

Warning
Exception raised for important warnings and defined by the DB API but not actually used by cx_Oracle.

Error
Exception that is the base class of all other exceptions defined by cx_Oracle and is a subclass of the Python StandardError exception (defined in the module exceptions).

InterfaceError
Exception raised for errors that are related to the database interface rather than the database itself. It is a subclass of Error.

DatabaseError
Exception raised for errors that are related to the database. It is a subclass of Error.

DataError
Exception raised for errors that are due to problems with the processed data. It is a subclass of DatabaseError.

OperationalError
Exception raised for errors that are related to the operation of the database but are not necessarily under the control of the progammer. It is a subclass of DatabaseError.

IntegrityError
Exception raised when the relational integrity of the database is affected. It is a subclass of DatabaseError.

InternalError
Exception raised when the database encounters an internal error. It is a subclass of DatabaseError.

ProgrammingError
Exception raised for programming errors. It is a subclass of DatabaseError.

NotSupportedError
Exception raised when a method or database API was used which is not supported by the database. It is a subclass of DatabaseError.