Hi Edwin,

that currently sounds like the best solution. However, beware to catch none of the LightweightEngineException exceptions, these are used for the flow of the web engine.

If you have some time, feel free to take a look at http://uwyn.com/ issues/browse/RIFE-89 and maybe implement and contribute it ;-)

Best regards,

Geert

On 01 Jun 2006, at 13:32, Edwin Mol wrote:

Hi,

I need a way to do custom error handling.
As far as I know, there is no way (yet) in rife to register custom error/exception handlers.

So what I'm thinking is to have a base element that implements the processElement method which is basically
a try/catch block.
Inside the try I will call an abstract method let's say process, which should be inplemented by all subclasses. All exceptions of all extending elements will than be handled by the base element.

Any thoughts on this would be welcome.

Regards,

Edwin
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com


_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to