Re: Consistent Behavior of exception-chaining

2011-12-15 Thread Weijun Wang
> Are there good reasons to not change Type 1 Exceptions to Type 2? Maybe serialization compatibility? -Max On 12/16/2011 12:46 AM, Sebastian Sickelmann wrote: Hello, while refactoring some exceptions (support for the 4 common ctors) i come along some inconsistency in handling cause-chaining

Consistent Behavior of exception-chaining

2011-12-15 Thread Sebastian Sickelmann
Hello, while refactoring some exceptions (support for the 4 common ctors) i come along some inconsistency in handling cause-chaining via initCause method. I hope we can unify to a compatible solution that there is only one initCause-behavior for every Exception in JDK. Here are the types i d