-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecating MultiException #2075
Comments
I think the class is still needed. At the very least it provides useful/readable utility methods to make it clear that multiple exceptions are expected and that they are being aggregated. But I also think there is a difference between and exception with suppressed exceptions, which can mean there was an exception and other things were thrown while handling it, vs a MultiException that indicates multiple probably independent failures occurred and one of them does not suppress the others. However, I do think that we can perhaps update the class and remove it's own internal array list and just use the suppressed list. |
Signed-off-by: Greg Wilkins <gregw@webtide.com>
Now that every
Throwable
can have suppressedThrowable
s, is there a reason to keepMultiException
around ?The text was updated successfully, but these errors were encountered: