IllegalStateException

Common
JS
Native
1.0
JVM
1.1
typealias IllegalStateException = IllegalStateException
(source)

Constructors

Common
JS
Native
1.0

<init>

<init> ( )
<init> ( message : String ? )
<init> ( message : String ? , cause : Throwable ? )
<init> ( cause : Throwable ? )

Extension Functions

Native
1.3

getStackTraceAddresses

Returns a list of stack trace addresses representing the stack trace pertaining to this throwable.

fun Throwable . getStackTraceAddresses ( ) : List < Long >

Inheritors

CancellationException

Thrown by cancellable suspending functions if the coroutine is cancelled while it is suspended. It indicates normal cancellation of a coroutine.

Common
JS
Native
1.4
open class CancellationException : IllegalStateException
JVM
1.4
typealias CancellationException = CancellationException