Actions
Bug #5630
closedError 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