From: Jonathan Ellis <jonathan@ca...> - 2006-09-12 13:16:43
On Tue, 12 Sep 2006 12:21:19 +0200, "Iwan Vosloo" <iv@...> said:
> if I need to catch an exception in the implementation of a tag, do I
> need to use http://spyce.sourceforge.net/docs/doc-tag_new.html , or is
> there a way doing it with
> http://spyce.sourceforge.net/docs/doc-tag_new2.html ?
if you want Spyce to automatically call your handler if there is an
exception while processing the tag, you need to use old-style tags.
but that's because it's really not very useful to do this. better to
just put a Python try/except around specific code.
C++ is history repeated as tragedy. Java is history repeated as farce. --Scott McKay
Get latest updates about Open Source Projects, Conferences and News.