hi ahmed,
i really appreciate this idea since i had almost the same problem. i solved it by writing special catch-handlers but of course your idea is a lot better! if the other devs agree with me i would implement this (as said, it would
fit perfectly into my current project ;-) )

mfg steven


Ahmed Saad wrote:

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


--
mfg Steven Weiß


-------------------------------------------------
Steven Weiß
code-factory - Programming, Webdesign, PC-Service

Anton-Uhrenbacherstr. 10
77977 Rust

Telefon:   (07822) 440668
Handy:     (0178) 3832347
[EMAIL PROTECTED]
http://www.code-factory.de
-------------------------------------------------



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

Reply via email to