CancellationException
Thrown by cancellable suspending functions if the coroutine is cancelled while it is suspended. It indicates normal cancellation of a coroutine.
Since Kotlin
1.4Since Kotlin
1.4Since Kotlin
1.4Since Kotlin
1.4Since Kotlin
1.8Since Kotlin
1.8Constructors
Properties
Returns an array of stack trace elements representing the stack trace pertaining to this throwable.
Returns a list of all exceptions that were suppressed in order to deliver this exception.
Returns a list of all exceptions that were suppressed in order to deliver this exception.
Returns a list of all exceptions that were suppressed in order to deliver this exception.
Returns a list of all exceptions that were suppressed in order to deliver this exception.
Returns a list of all exceptions that were suppressed in order to deliver this exception.
Returns a list of all exceptions that were suppressed in order to deliver this exception.
Functions
When supported by the platform, adds the specified exception to the list of exceptions that were suppressed in order to deliver this exception.
Adds the specified exception to the list of exceptions that were suppressed in order to deliver this exception.
When supported by the platform, adds the specified exception to the list of exceptions that were suppressed in order to deliver this exception.
Adds the specified exception to the list of exceptions that were suppressed in order to deliver this exception.
Adds the specified exception to the list of exceptions that were suppressed in order to deliver this exception.
Adds the specified exception to the list of exceptions that were suppressed in order to deliver this exception.
Returns an array of stack trace strings representing the stack trace pertaining to this throwable.
Returns a list of stack trace addresses representing the stack trace pertaining to this throwable.
Prints the detailed description of this throwable to the standard error output.
Prints the detailed description of this throwable to the standard output or standard error output.
Prints the detailed description of this throwable to console error output.
Prints the detailed description of this throwable to the standard error output.
Prints the detailed description of this throwable to the specified stream.
Prints the detailed description of this throwable to the specified writer.
Prints the detailed description of this throwable to the standard error output.
Prints the detailed description of this throwable to console error output.
Prints the detailed description of this throwable to console error output.
Returns the detailed description of this throwable with its stack trace.
Returns the detailed description of this throwable with its stack trace.
Returns the detailed description of this throwable with its stack trace.
Returns the detailed description of this throwable with its stack trace.
Returns the detailed description of this throwable with its stack trace.
Returns the detailed description of this throwable with its stack trace.
Returns the short description of this throwable consisting of the exception class name (fully qualified if possible) followed by the exception message if it is not null.
Returns the short description of this throwable consisting of the exception class name followed by the exception message if it is not null.