You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment all sync* methods that are implemented by DefaultPromise may throw checked exceptions which are not adviced. This is bad for multiple reasons. We should just wrap the checked exceptions with a RuntimeException.
The text was updated successfully, but these errors were encountered:
Motivation:
We should not throw check exceptions when the user calls sync*() but should better wrap it in a CompletionException to make it easier for people to reason about what happens.
Modifications:
- Change sync*() to throw CompletionException
- Adjust tests
- Add some more tests
Result:
Fixes#8521.
…8995)
Motivation:
We should not throw check exceptions when the user calls sync*() but should better wrap it in a CompletionException to make it easier for people to reason about what happens.
Modifications:
- Change sync*() to throw CompletionException
- Adjust tests
- Add some more tests
Result:
Fixes#8521.
At the moment all
sync*
methods that are implemented byDefaultPromise
may throw checked exceptions which are not adviced. This is bad for multiple reasons. We should just wrap the checked exceptions with aRuntimeException
.The text was updated successfully, but these errors were encountered: