wrong exception chain in
org.apache.xalan.transformer.TransformerIdentityImpl.transform()
-----------------------------------------------------------------------------------------
Key: XALANJ-2257
URL: http://issues.apache.org/jira/browse/XALANJ-2257
Project: XalanJ2
Type: Bug
Components: transformation
Versions: 2.7, Latest Development Code
Reporter: Christopher Sahnwaldt
Priority: Trivial
line 497 in TransformerIdentityImpl.transform() (v 1.37) should be changed from
throw new TransformerException(wre.getException());
to
throw new TransformerException(throwable);
There is a loop that finds the root exception, but that root is not used in the
end:
catch (org.apache.xml.utils.WrappedRuntimeException wre)
{
Throwable throwable = wre.getException();
while (throwable instanceof org.apache.xml.utils.WrappedRuntimeException)
{
throwable = ((org.apache.xml.utils.WrappedRuntimeException)
throwable).getException();
}
throw new TransformerException(wre.getException()); // line 497
}
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]