[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUe-dev] Exception handling
From: |
Reinhard Müller |
Subject: |
[GNUe-dev] Exception handling |
Date: |
22 Mar 2004 15:48:37 +0100 |
Hi all,
I had to rename the unicode-safe base class for our user defined
exceptions to "gException". Overwriting the builtin "Exception" class
caused the problem that you can't catch a builtin exception (like
ImportError) with "except Exception, message" any more.
So please use gException as the base class for all your future
exceptions and they will automagically be unicode safe.
Thanks,
--
Reinhard Müller Tel +43 (5577) 89877-0
BYTEWISE Software GmbH Fax +43 (5577) 89877-66
A-6890 Lustenau, Enga 2 http://www.bytewise.at
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kennen Sie schon die Möglichkeit, Daten aus der VCS ins
Microsoft(TM) Excel(TM) zu übernehmen? Bei Interesse -
rufen Sie uns einfach an!
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUe-dev] Exception handling,
Reinhard Müller <=