Details
-
Type: Improvement
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
In some cases, the exception thrown by XStream is monsterous and contains many layers of nested exceptions (example: XSTR-205).
The wrapped exceptions are required in the implementation because the stack jumps in and out of JDK libraries that enforce specific exceptions. However most of these are rarely helpful, even to XStream developers.
I'd like XStream to trim the stack trace and nested exceptions to just relevant stuff by default. An option should be provided to disable this feature.