"Stolker, Wim" <[EMAIL PROTECTED]> writes:
> I do not know how the exceptions are named.
> If I catch the exception with a general 'except:' statement
> it works but I cannot see the info from the exception,
sys.exc_* should work, as in
import sys
try:
raise "Blubber"
except:
print "Exception type %s" % sys.exc_type
print "Exception value %s" % sys.exc_value
--
http://www.jquade.de/
For every complex problem there is an
answer that is clear, simple, and wrong. -- H L Mencken
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )