[DB-SIG] what's wrong an exception-catching class?

Magnus Lycka magnus@thinkware.se
Tue, 26 Nov 2002 23:17:13 +0100


At 11:32 2002-11-26 -0800, Chris Cogdon wrote:
>This is why I feel that there is no 'standard library' for catching 
>exceptions, because the 'correct' thing for any particular application 
>varies widely and wildly between applications.

On the other hand, it could be useful if the raised exceptions
followed some kind of standard. After all, it's not the vendor
specific code that throws Python exceptions, it's the Python
database drivers. If there was a standard for these exceptions,
it would be easier to write generic DB-API programs. IIRC, this
has been discussed on this list...


-- 
Magnus Lycka, Thinkware AB
Alvans vag 99, SE-907 50 UMEA, SWEDEN
phone: int+46 70 582 80 65, fax: int+46 70 612 80 65
http://www.thinkware.se/  mailto:magnus@thinkware.se