We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de8b9e9 commit a197d6dCopy full SHA for a197d6d
kotlinx-coroutines-core/src/main/kotlin/kotlinx/coroutines/experimental/channels/Channel.kt
@@ -211,7 +211,7 @@ public interface Channel<E> : SendChannel<E>, ReceiveChannel<E> {
211
* that was closed _normally_. A _failed_ channel rethrows the original [close][SendChannel.close] cause
212
* exception on send attempts.
213
*/
214
-public class ClosedSendChannelException(message: String?) : IllegalStateException(message)
+public class ClosedSendChannelException(message: String?) : CancellationException(message)
215
216
/**
217
* Indicates attempt to [receive][ReceiveChannel.receive] on [isClosedForReceive][ReceiveChannel.isClosedForReceive]
0 commit comments