netty5/codec-http2/src/test/java/io
Norman Maurer 7c35781f4d
DefaultPromise may throw checked exceptions that are not advertised (#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 https://github.com/netty/netty/issues/8521.
2019-04-10 07:15:31 +02:00
..
netty/handler/codec/http2 DefaultPromise may throw checked exceptions that are not advertised (#8995) 2019-04-10 07:15:31 +02:00