The following issue has been updated:

    Updater: Brian Minchau (mailto:[EMAIL PROTECTED])
       Date: Fri, 24 Sep 2004 8:29 AM
    Changes:
             Component changed to transformation
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/XALANJ-1902?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XALANJ-1902

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XALANJ-1902
    Summary: TransformerImpl.run() throws obfuscated exceptions
       Type: Bug

     Status: Open

    Project: XalanJ2
 Components: 
             Xalan-interpretive transformation
             transformation
   Versions:
             2.6

   Assignee: Xalan Developers Mailing List
   Reporter: John J. Barton

    Created: Fri, 2 Jul 2004 10:50 PM
    Updated: Fri, 24 Sep 2004 8:29 AM
Environment: Operating System: Other
Platform: Other

Description:
Bugs like 22217 within the XALAN transformer system can produce Exceptions.  
TransformerImpl traps those Exceptions and converts them to RuntimeExceptions. 

Unfortunately as it does this it throws out the call stack of the Exception,
making debugging extra hard.

Fixing this is very easy: replace all calls like
   throw new RuntimeException(e.getMessage());
with
   throw new RuntimeException(e);
The resulting RuntimeException will have a "cause" that holds the stacktrace 
for the orginal problem.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to