An exception has a tree-like structure with causes and suppressed exceptions for each node.
Java stack trace is incomplete and not ideal for showing a possible complex structure of Exception.
See proposal visually in att. - java_new_stacktrace_diff_proposal.png
Standard stack trace & proposed, please see in att. as well.
For better trouble-shooting and stack trace visibility it should be improved.
I believe that it is an extremely important change.
Now we have to implement own stack trace output utils to see proper stack trace + it is not supported by other libraries and utils (e.g. log4j, etc.) Therefore it should be supported on Java/JVM level.
Examples and draft implementation of the newly proposed stack trace: source code, project for Intellij Idea, examples, etc. can be provided.
Java stack trace is incomplete and not ideal for showing a possible complex structure of Exception.
See proposal visually in att. - java_new_stacktrace_diff_proposal.png
Standard stack trace & proposed, please see in att. as well.
For better trouble-shooting and stack trace visibility it should be improved.
I believe that it is an extremely important change.
Now we have to implement own stack trace output utils to see proper stack trace + it is not supported by other libraries and utils (e.g. log4j, etc.) Therefore it should be supported on Java/JVM level.
Examples and draft implementation of the newly proposed stack trace: source code, project for Intellij Idea, examples, etc. can be provided.