TransformerImpl.setExtensionsTable swallows TransformerException ----------------------------------------------------------------
Key: XALANJ-2437 URL: https://issues.apache.org/jira/browse/XALANJ-2437 Project: XalanJ2 Issue Type: Improvement Components: transformation, Xalan Affects Versions: 2.7, 2.7.1 Environment: Java Reporter: Geoff Wheeler Priority: Minor When the method TransformerImpl.setExtensionsTable encounters a TransformerException is catches it and prints out the stack trace to err. It seems like it would be better to throw this exception to allow the end user to handle it as they see fit. In our experience we encountered an error stemming from invalid embedded Java code being included in a transform. The exception caught by TransformerImpl.setExtensionsTable contains extremely useful information as to the to cause and location of the problem. Another exception does get thrown later on, but it is just a NullPointerException that doesn't contain any information as to the original cause of the problem. -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]