Home
last modified time | relevance | path

Searched refs:JobCancellationException (Results 1 – 16 of 16) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/
DExceptions.kt29 internal actual class JobCancellationException public actual constructor( class
33 ) : CancellationException(message), CopyableThrowable<JobCancellationException> {
53 override fun createCopy(): JobCancellationException? { in createCopy()
55 return JobCancellationException(message!!, this, job) in createCopy()
68 …other is JobCancellationException && other.message == message && other.job == job && other.cause =…
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/
DNonCancellableTest.kt32 } catch (e: JobCancellationException) { in <lambda>()
34 val cause = e.cause as JobCancellationException // shall be recovered JCE in <lambda>()
127 } catch (e: JobCancellationException) { in <lambda>()
129 val cause = e.cause as JobCancellationException // shall be recovered JCE in <lambda>()
DJobExtensionsTest.kt47 assertFailsWith<JobCancellationException> { job.ensureActive() } in <lambda>()
48 assertFailsWith<JobCancellationException> { scope.ensureActive() } in <lambda>()
49 assertFailsWith<JobCancellationException> { scope.coroutineContext.ensureActive() } in <lambda>()
82 assertTrue(exception is JobCancellationException) in <lambda>()
DCoroutineScopeTest.kt123 } catch (e: JobCancellationException) { in <lambda>()
126 val cause = e.cause as JobCancellationException // shall be recovered JCE in <lambda>()
DCompletableDeferredTest.kt52 assertTrue(c.getCancellationException() is JobCancellationException) in checkCompleteOk()
77 assertTrue(c.getCancellationException() is JobCancellationException) in checkCancelWithException()
/external/kotlinx.coroutines/kotlinx-coroutines-core/js/src/
DExceptions.kt25 internal actual class JobCancellationException public actual constructor( class
33 …other is JobCancellationException && other.message == message && other.job == job && other.cause =… in toString()
/external/kotlinx.coroutines/kotlinx-coroutines-core/native/src/
DExceptions.kt25 internal actual class JobCancellationException public actual constructor( class
33 …other is JobCancellationException && other.message == message && other.job == job && other.cause =… in toString()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test-resources/stacktraces/channels/
DtestCancelledOffer.txt1 kotlinx.coroutines.JobCancellationException: Job was cancelled; job=JobImpl{Cancelling}@2a06d350
6 Caused by: kotlinx.coroutines.JobCancellationException: Job was cancelled; job=JobImpl{Cancelling}@…
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/
DExceptions.common.kt20 internal expect class JobCancellationException( in CancellationException() class
DJob.kt655 private fun Throwable?.orCancellation(job: Job): Throwable = this ?: JobCancellationException("Job … in Throwable()
DJobSupport.kt420 else -> JobCancellationException("$classSimpleName has completed normally", null, this) in <lambda>()
700 JobCancellationException(message ?: cancellationExceptionMessage(), cause, this) in <lambda>()
711 …return (rootCause as? CancellationException) ?: JobCancellationException("Parent job is ${stateStr… in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/operators/
DOnCompletionTest.kt162 assertFailsWith<JobCancellationException> { in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/exceptions/
DWithContextExceptionHandlingTest.kt173 val cause = e.cause as JobCancellationException // shall be recovered JCE in <lambda>()
/external/kotlinx.coroutines/
DCHANGES.md585 …* Unwrap `JobCancellationException` properly to provide exception transparency over whole call cha…
887 …* `JobCancellationException` is introduced as a specific subclass of `CancellationException` which…
/external/kotlinc/lib/
Dkotlin-main-kts.jarMETA-INF/ META-INF/MANIFEST.MF DebugProbesKt.bin META-INF/LICENSE ...
Dkotlinx-coroutines-core.jarMETA-INF/ META-INF/MANIFEST.MF kotlinx/ kotlinx/coroutines/ kotlinx/ ...