Searched refs:CompletedExceptionally (Results 1 – 11 of 11) sorted by relevance
16 onFailure = { CompletedExceptionally(it) } in <lambda>()21 onFailure = { CompletedExceptionally(recoverStackTrace(it, caller)) } in <lambda>()26 if (state is CompletedExceptionally) in recoverResult()42 internal open class CompletedExceptionally( in recoverResult() class63 ) : CompletedExceptionally(cause ?: CancellationException("Continuation $continuation was cancelled…
190 return state is CompletedExceptionally || (state is Finishing && state.isCancelling) in <lambda>()208 val proposedException = (proposedUpdate as? CompletedExceptionally)?.cause in <lambda>()225 else -> CompletedExceptionally(finalException) in <lambda>()230 if (handled) (finalState as CompletedExceptionally).makeHandled() in <lambda>()291 assert { update !is CompletedExceptionally } // only for normal completion in <lambda>()311 val cause = (update as? CompletedExceptionally)?.cause in <lambda>()419 is CompletedExceptionally -> state.cause.toCancellationException() in <lambda>()437 is CompletedExceptionally -> state.cause in <lambda>()445 get() = state.let { it is CompletedExceptionally && it.handled } in <lambda>()504 … if (invokeImmediately) handler.invokeIt((state as? CompletedExceptionally)?.cause) in <lambda>()[all …]
160 … is CompletedExceptionally -> return // already completed exception or cancelled, nothing to do in <lambda>()276 if (state is CompletedExceptionally) throw recoverStackTrace(state.cause, this) in <lambda>()306 is CompletedExceptionally -> { in <lambda>()319 callCancelHandler(handler, (state as? CompletedExceptionally)?.cause) in <lambda>()372 proposedUpdate is CompletedExceptionally -> { in <lambda>()474 tryResumeImpl(CompletedExceptionally(exception), idempotent = null, onCancellation = null) in <lambda>()489 …resumeImpl(CompletedExceptionally(exception), if (dc?.dispatcher === this) MODE_UNDISPATCHED else … in <lambda>()
94 makeCompleting(CompletedExceptionally(exception))
101 if (state is CompletedExceptionally) in cancellationExceptionMessage()
268 if (state is CompletedExceptionally) throw state.cause in getResult()
113 CompletedExceptionally(e) in undispatchedResult()130 return if (state is CompletedExceptionally) { // (3) in undispatchedResult()133 result is CompletedExceptionally -> throw recoverStackTrace(result.cause, uCont) in undispatchedResult()
307 doResume({ CompletedExceptionally(recoverStackTrace(exception, uCont)) }) { in next()322 result is CompletedExceptionally -> throw result.cause in next()357 if (result !is CompletedExceptionally || unwrap(result.cause) !== unwrap(e)) { in next()
77 (state as? CompletedExceptionally)?.let { throw it.cause } in <lambda>()
97 (state as? CompletedExceptionally)?.let { throw it.cause } in joinBlocking()
79 (state as? CompletedExceptionally)?.cause in getSuccessfulResult()