On Fri, 25 Nov 2022 16:41:35 GMT, Darragh Clarke <[email protected]> wrote:

>> No something that would call `initCause(ex)` to set the root cause - as 
>> AFAICS there's no constructor that takes a root cause.
>
> ah ok, so create a new `InterruptedIOException` and set the initcause to be 
> the `interruptedException`.
> is there anything else that would need to be set?

preserving the root cause is the main thing.

-------------

PR: https://git.openjdk.org/jdk/pull/11323

Reply via email to