When I went searching, I came to the conclusion that 2.0 has no such
decorator anymore. To be honest, I've only worked in 2.0 so I'm not even
clear what @exception_handler used to do, I just thought it might solve a
problem I was having when I was searching through the documentation....

If my assumption about what it does is correct, wouldn't it be clearer to
just enclose your code in a try...except block in your controller method and
redirect to the appropriate handler or is that not what @exception_handler
was for?

On Wed, Mar 11, 2009 at 4:24 AM, Sanjay <[email protected]> wrote:

>
> Hi All,
>
> Could not find how to handle exceptions in TG 2.0, i.e. substitute of
> @exception_handler. Need help.
>
> thanks,
> Sanjay
>
>
> >
>


-- 
Rob Neville
http://www.robneville.net

http://www.linkedin.com/in/robneville

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to