[Zope] handling exceptions in DTML

Paulo Eduardo Neves neves@inf.puc-rio.br
Wed, 24 Mar 1999 21:38:21 -0300


"Jordan B. Baker" wrote:
> 
> <!--#try-->
...
> <!--#except-->
> 
> The exception was <!--#var err-->
> 
> <!--#/try-->
> 
...
> 
> Anyone have more ideas?


Maybe something like this for the version 2.3 :-)

<!--#try-->
...
<!--#except KeyError-->
...
<!--#except ValueError IndexError-->
...
<!--#finally-->
...
<!--#/try-->

regards,
-- 
Paulo Eduardo Neves
PUC-Rio de Janeiro 
Pager: Central: 292-4499 cod. 213 99 64
ou use a URL:  http://www.learn.fplf.org.br/neves/mensagempager.html