Hi all,

What about adding declarative exception handling in Agavi? It simpley
means that the controller would call a specified action when some
unhandled exception (of some type) is thrown. You would add something
like this to settings.ini (or somewhere else?)

[Exceptions]
PropelException = Default,InternalError
CustomException = CustomModule,CustomAction

Here the controller would call InternalErrorAction in the Default
module when it catches an unhandled PropleException and so on. I'm
gonna play a little with that today.

Comments are welcome.

-ahmed
_______________________________________________
agavi-dev mailing list
[email protected]
http://labworkz.com/cgi-bin/mailman/listinfo/agavi-dev

Reply via email to