[prev in list] [next in list] [prev in thread] [next in thread]
List: python-db-sig
Subject: [DB-SIG] Follow up to DCOracle-1.3.0 try/except of 4 August
From: lane () cycletime ! com (Lane Stevens)
Date: 2000-09-06 15:18:45
Message-ID: 20000906091845.E819 () jisca ! cycletime ! com
[Download RAW message or body]
If an error during connection occurs, the exception that is raised is
OracleError rather than DCOracle.error. It appears that this exception
originates in the c portion of the oci API. Is OracleError defined anywhere
that can be imported so that error can be caught?
It is my assumption that prior to creation of a valid db connection,
OracleError is raised. Once a valid connection to the db has been made,
DCOracle.error is raised. Is this assumption correct? Are there other
exceptions that are raised by the DCOracle components?
Thanks,
Lane.
--
Lane Stevens
Terrapin Technologies, Inc.
http://www.cycletime.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic