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
If we close a Channel because of a failed write we should store the "original" exception in the ClosedChannelException that will be used to fail further operations to make it easier to understand why the Channel was closed before.
…n the ClosedChannelException
Motivation:
To make it easier to understand why a Channel was closed previously and so why the operation failed with a ClosedChannelException we should include the original Exception.
Modifications:
- Store the original exception that lead to the closed Channel and include it in the ClosedChannelException that is used to fail the operation.
- Add unit test
Result:
Fixes#8862.
…n the ClosedChannelException (#8863)
Motivation:
To make it easier to understand why a Channel was closed previously and so why the operation failed with a ClosedChannelException we should include the original Exception.
Modifications:
- Store the original exception that lead to the closed Channel and include it in the ClosedChannelException that is used to fail the operation.
- Add unit test
Result:
Fixes#8862.
…n the ClosedChannelException (#8863)
Motivation:
To make it easier to understand why a Channel was closed previously and so why the operation failed with a ClosedChannelException we should include the original Exception.
Modifications:
- Store the original exception that lead to the closed Channel and include it in the ClosedChannelException that is used to fail the operation.
- Add unit test
Result:
Fixes#8862.
If we close a Channel because of a failed write we should store the "original" exception in the
ClosedChannelException
that will be used to fail further operations to make it easier to understand why the Channel was closed before.This came up yesterday in a discussion with @Scottmitch @ejona86 @carl-mastrangelo .
The text was updated successfully, but these errors were encountered: