Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 76905 invoked from network); 9 Mar 2007 20:46:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Mar 2007 20:46:06 -0000 Received: (qmail 52190 invoked by uid 500); 9 Mar 2007 20:46:00 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 51895 invoked by uid 500); 9 Mar 2007 20:45:59 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 51820 invoked by uid 99); 9 Mar 2007 20:45:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Mar 2007 12:45:59 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Mar 2007 12:45:50 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BE7B0714079 for ; Fri, 9 Mar 2007 12:45:10 -0800 (PST) Message-ID: <4392947.1173473110769.JavaMail.jira@brutus> Date: Fri, 9 Mar 2007 12:45:10 -0800 (PST) From: "Henri Yandell (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Reopened: (DIGESTER-85) [digester] Include filename or uri if Digester.parse(File file or String uri throws a SAXException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIGESTER-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henri Yandell reopened DIGESTER-85: ----------------------------------- > [digester] Include filename or uri if Digester.parse(File file or String uri throws a SAXException > -------------------------------------------------------------------------------------------------- > > Key: DIGESTER-85 > URL: https://issues.apache.org/jira/browse/DIGESTER-85 > Project: Commons Digester > Issue Type: Improvement > Environment: Operating System: All > Platform: All > Reporter: Erik Meade > Priority: Minor > > Would make debugging easier. > A try catch SAXException block around the getXMLReader().parse(input); statements in the parse > File and parse(String would allow the SAX Exception to be caught, taken apart, an error statement > with file or uri added, and thrown. > But how to capture the first stack trace? Use NestedExceptions from jakarta-commons-lang? Use > org.apache.commons.lang.exception.ExceptionUtils.getStackTrace and and cram the first stack > trace in the with new SAXExceptions? Or avoid the new dependecy on lang and do something > else? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org