Searched refs:getCancellationException (Results 1 – 19 of 19) sorted by relevance
43 assertThrows<IllegalStateException> { c.getCancellationException() } in checkFresh()52 assertTrue(c.getCancellationException() is JobCancellationException) in checkCompleteOk()77 assertTrue(c.getCancellationException() is JobCancellationException) in checkCancelWithException()
174 public fun getCancellationException(): CancellationException in getCancellationException() method585 if (!isActive) throw getCancellationException() in cancel()
55 if (job != null && !job.isActive) throw job.getCancellationException() in checkCompletion()
72 …override fun getCancellationException(): CancellationException = throw IllegalStateException("This… in getCancellationException() method
248 parent.getCancellationException() in <lambda>()284 val cause = job.getCancellationException() in <lambda>()
414 public final override fun getCancellationException(): CancellationException = in <lambda>() method1170 return parent.getCancellationException() in <lambda>()
107 assertTrue(d.getCancellationException().cause is ClosedReceiveChannelException) in <lambda>()129 assertTrue(d.getCancellationException().cause is TestException) in <lambda>()
155 throw job.getCancellationException() in <lambda>()190 throw job.getCancellationException().cause ?: assertFails { "expected exception" } in <lambda>()
75 if (getCancellationException() !== cause) { in onCancelled()
154 val cause = deferred.getCancellationException().cause!! in testConsecutiveCancellation()
219 return isSameExceptionAs(job.getCancellationException()) in isCancellationCause()
99 val cause = job.getCancellationException() in getSuccessfulResult()
228 val cause = job.getCancellationException() in <lambda>()
109 throw getCancellationException() in doLockedNext()
123 throw getCancellationException() in doLockedNext()
148 throw getCancellationException() in doLockedNext()
340 resumeSelectWithException(job.getCancellationException()) in next()
341 public abstract fun getCancellationException ()Ljava/util/concurrent/CancellationException;414 public final fun getCancellationException ()Ljava/util/concurrent/CancellationException;458 public fun getCancellationException ()Ljava/util/concurrent/CancellationException;
889 …* `Job.getCompletionException` is renamed to `Job.getCancellationException` and return a wrapper e…