Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 31282 invoked from network); 20 Feb 2004 17:07:53 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 20 Feb 2004 17:07:53 -0000 Received: (qmail 12991 invoked by uid 500); 20 Feb 2004 17:07:27 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 12884 invoked by uid 500); 20 Feb 2004 17:07:26 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 12871 invoked from network); 20 Feb 2004 17:07:26 -0000 Received: from unknown (HELO warhawk.mpi.com) (63.244.250.133) by daedalus.apache.org with SMTP; 20 Feb 2004 17:07:26 -0000 Received: from lightning.mpi.com (lightning [63.244.252.11]) by warhawk.mpi.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id i1KH41B19577 for ; Fri, 20 Feb 2004 12:04:01 -0500 (EST) Received: from US-VS1.corp.mpi.com (us-be1.corp.mpi.com [63.244.252.30]) by lightning.mpi.com (Switch-3.0.5/Switch-3.0.0) with ESMTP id i1KH79XB006957 for ; Fri, 20 Feb 2004 12:07:21 -0500 (EST) X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Tomcat and checked vs. unchecked exceptions Date: Fri, 20 Feb 2004 12:06:39 -0500 Message-ID: <9C5166762F311146951505C6790A9CF8013DFD6C@US-VS1.corp.mpi.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Tomcat and checked vs. unchecked exceptions Thread-Index: AcP30b/S8c+F/aOeTl+sgHED/X8BMgAAhdTQ From: "Shapira, Yoav" To: "Tomcat Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Howdy, >Apparently it changes a checked exception into an unchecked one. I'm not >sure what that means to me, except that try as I might, I can't catch= >this in Tomcat and present a nice error page: > > > javax.servlet.ServletException= > /exceptions/Exception.jsp > > > java.io.IOException > /exceptions/Exception.jsp > > > >com.lowagie.text.ExceptionConverter > /exceptions/Exception.jsp > Try java.lang.RuntimeException, as that's the superclass for unchecked exceptions and you probably want t= o handle them all the same (if you want to handle them at all, which apparently you do). Yoav Shapira This e-mail, including any attachments, is a confidential business com= munication, and may contain information that is confidential, propriet= ary and/or privileged. This e-mail is intended only for the individua= l(s) to whom it is addressed, and may not be saved, copied, printed, d= isclosed or used by anyone else. If you are not the(an) intended reci= pient, please immediately delete this e-mail from your computer system= and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org