Hi,

I am currently working on the Exception handling mechanism of MyFaces 2.0
and I was thinking how we should provide backwards compatibility to the
situation in 1.2.

I came up with the following solution for the backwards compatibility:

- org.apache.myfaces.ERROR_HANDLING will be dismissed by MyFaces 2.0,
because we will always handle the Exception with the ExceptionHandler (the
spec tells us to).
- org.apache.myfaces.ERROR_HANDLER can still be used, but only in
conjunction with javax.faces.webapp.PreJsf2ExceptionHandlerFactory. However,
only the method handleException(FacesContext context, Exception e) has to be
provided.

Any comments or thoughts about this solution? Any better ideas?

Regards,

Jakob Korherr

Reply via email to