When Throwables are serialized and deserialized, they lose their stack traces
because the backtrace is transient.
If the backtrace was replaced with a publically-specified data structure before
serialization, it could be printed by the deserializing VM without sacrificing
binary compatibility. This would greatly aid in debugging distributed
applications that throw exceptions across RMI calls.
because the backtrace is transient.
If the backtrace was replaced with a publically-specified data structure before
serialization, it could be printed by the deserializing VM without sacrificing
binary compatibility. This would greatly aid in debugging distributed
applications that throw exceptions across RMI calls.
- duplicates
-
JDK-4293532 Support chaining of exceptions
-
- Closed
-