blob: 2ea6103a3346716091b52f45995212a4f7da737a [file] [log] [blame]
/*
* Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package kotlinx.coroutines.experimental
public expect class CompletionHandlerException(message: String, cause: Throwable) : RuntimeException
public expect open class CancellationException(message: String?) : IllegalStateException
public expect class JobCancellationException(
message: String,
cause: Throwable?,
job: Job
) : CancellationException {
internal val job: Job
}
internal expect class DispatchException(message: String, cause: Throwable) : RuntimeException
internal expect fun Throwable.addSuppressedThrowable(other: Throwable)