@ExperimentalStdlibApi open class CancellationException : IllegalStateException
@ExperimentalStdlibApi typealias CancellationException = CancellationException
Thrown by cancellable suspending functions if the coroutine is cancelled while it is suspended. It indicates normal cancellation of a coroutine.
<init>()
<init>(message: String?)
<init>(message: String?, cause: Throwable?)
<init>(cause: Throwable?)
Returns a list of stack trace addresses representing the stack trace pertaining to this throwable.
fun Throwable.getStackTraceAddresses(): List<Long>
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.coroutines.cancellation/-cancellation-exception/index.html