Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.7.1, 2.7
-
None
-
None
-
Java
Description
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.