You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2007/08/02 10:17:12 UTC

[Myfaces Wiki] Trivial Update of "Handling Server Errors" by MartinMarinschek

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by MartinMarinschek:
http://wiki.apache.org/myfaces/Handling_Server_Errors

------------------------------------------------------------------------------
      <param-value>false</param-value>
    </context-param>
    <!-- if you want to choose a different class for handling the exception - the error-handler needs to include a method handleException(FacesContext fc, Exception ex)-->
-   <!--context-param>
+   <context-param>
      <param-name>org.apache.myfaces.ERROR_HANDLER</param-name>
      <param-value>my.project.ErrorHandler</param-value>
-   </context-param--> 
+   </context-param> 
  }}}
  
  If you do this, you can now read on to get to general ways of handling server-errors.