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
>

Reply via email to