Return-Path: Delivered-To: apmail-maven-issues-archive@locus.apache.org Received: (qmail 3594 invoked from network); 11 Aug 2006 05:53:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Aug 2006 05:53:14 -0000 Received: (qmail 79035 invoked by uid 500); 11 Aug 2006 05:53:13 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 78990 invoked by uid 500); 11 Aug 2006 05:53:13 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 78981 invoked by uid 99); 11 Aug 2006 05:53:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Aug 2006 22:53:13 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [63.246.20.114] (HELO 63-246-20-114.contegix.com) (63.246.20.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Aug 2006 22:53:01 -0700 Received: (qmail 10646 invoked by uid 89); 11 Aug 2006 05:52:10 -0000 Received: from unknown (HELO codehaus01.managed.contegix.com) (127.0.0.1) by smtp.domain.com with SMTP; 11 Aug 2006 05:52:10 -0000 Message-ID: <93759767.1155275530818.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Fri, 11 Aug 2006 00:52:10 -0500 (CDT) From: "Lester Ecarma (JIRA)" To: issues@maven.apache.org Subject: [jira] Updated: (CONTINUUM-778) show internal error page on unhandled exceptions In-Reply-To: <125174646.1152811702115.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://jira.codehaus.org/browse/CONTINUUM-778?page=all ] Lester Ecarma updated CONTINUUM-778: ------------------------------------ Attachment: (was: CONTINUUM-777_2.patch) > show internal error page on unhandled exceptions > ------------------------------------------------ > > Key: CONTINUUM-778 > URL: http://jira.codehaus.org/browse/CONTINUUM-778 > Project: Continuum > Issue Type: Sub-task > Components: Web interface > Affects Versions: 1.0.3 > Reporter: Carlos Sanchez > Assigned To: Napoleon Esmundo C. Ramirez > Fix For: 1.1 > > Attachments: CONTINUUM-778.patch, error-mapping.patch > > > It's possible to setup a servlet filter or something similar that maybe webwork already has (Struts has it) to catch all unhandled exceptions, log them to the log file and redirect the user to a "internal error" page. > Related to this we should make ContinuumException a RuntimeException, don't catch it in the web layer and let the previous mechanism do it. We'll save a lot of exception handling code not needed. > Note that this is only for system exceptions, eg. if database is down, and not model exceptions, eg. when looking up by id it the record doesn't exist. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira