Not much. I am able to write my own error handler (as described on the
link you provided), but I dont know how to call default error handler
from it.
Andrew Robinson wrote:
This help?
http://wiki.apache.org/myfaces/Handling_Server_Errors
On Feb 19, 2008 4:59 AM, Ognjen Blagojevic <[EMAIL PROTECTED]> wrote:
Hi all,
I am trying to override MyFaces error handling for certain exceptions,
and for others to use the default one. Is it possible?
I was thinking write my custom error handler, with method
public void handleException(FacesContext fc, Exception ex) {
if (ex instanceof CertainException) {
// do my handling
} else {
return DefaultErrorHandler.handleException(fc, ex);
}
}
However, I don't know which one is default error handling class? I
searched MyFaces jars, but coudn't find any public handleException method.
Regards,
Ognjen