[DB-SIG] Follow up to DCOracle-1.3.0 try/except of 4 August

Lane Stevens lane@cycletime.com
Wed, 6 Sep 2000 09:18:45 -0600


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