Actions
Bug #5630
closed![Author: Octavian Nadolu](https://www.gravatar.com/avatar/eee430f219c32639a71b4d2e6e5c1e85?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
![Assignee: Michael Kay](https://www.gravatar.com/avatar/db6526d63053f09b62e52c2da8b2230a?rating=PG&size=22&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
Error cause is not set when IllegalStateException is thoron in ActiveSAXSource (Saxon 11)
Start date:
2022-08-03
Due date:
% Done:
0%
Estimated time:
Legacy ID:
Applies to branch:
11, trunk
Fix Committed on Branch:
11, trunk
Description
In net/sf/saxon/resource/ActiveSAXSource.java, when an Exception is cached, an IllegalStateException is throwed. Maybe you can set the cause in the IllegalStateException and not print the exception stack trace.
Instead of:
} catch (Exception x) {
x.printStackTrace();
throw new IllegalStateException();
Do something like:
} catch (Exception x) {
throw new IllegalStateException(x);
Please register to edit this issue
Actions