Return-Path: X-Original-To: apmail-myfaces-dev-archive@www.apache.org Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1898A18DD1 for ; Tue, 15 Dec 2015 14:12:48 +0000 (UTC) Received: (qmail 57214 invoked by uid 500); 15 Dec 2015 14:12:47 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 56977 invoked by uid 500); 15 Dec 2015 14:12:47 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 56567 invoked by uid 99); 15 Dec 2015 14:12:47 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Dec 2015 14:12:47 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 4B1032C1F76 for ; Tue, 15 Dec 2015 14:12:47 +0000 (UTC) Date: Tue, 15 Dec 2015 14:12:47 +0000 (UTC) From: "Thomas Andraschko (JIRA)" To: dev@myfaces.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (MYFACES-4012) Documentation wrong about Error handling MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MYFACES-4012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Andraschko resolved MYFACES-4012. ---------------------------------------- Resolution: Fixed Assignee: Thomas Andraschko > Documentation wrong about Error handling > ---------------------------------------- > > Key: MYFACES-4012 > URL: https://issues.apache.org/jira/browse/MYFACES-4012 > Project: MyFaces Core > Issue Type: Bug > Components: website > Reporter: Matthew Alexander > Assignee: Thomas Andraschko > Priority: Minor > > https://cwiki.apache.org/confluence/display/MYFACES/Handling+Server+Errors > Current version: > {quote} > *Provide an error page* > The default ExceptionHandler in Production stage or when myfaces error handling is disabled just throw an exception. So you can still setup an error page adding something like this in your web.xml file: > {code} > 500 > /somepage.jsp > {code} > {quote} > Should be: > {quote} > *Provide an error page* > If org.apache.myfaces.ERROR_HANDLING is set to "false", or if it is undefined and the project stage is "Development", the default ExceptionHandler just throws an exception. So you can still setup an error page by adding something like this in your web.xml file: > {code} > 500 > /somepage.jsp > {code} > {quote} > Changes > - Corrected the explanation of the behavior of the default ExceptionHandler. > - Improved the grammar. -- This message was sent by Atlassian JIRA (v6.3.4#6332)