public class CoroutineScopeException extends CoroutineException
Coroutine
executions in a CoroutineScope fail with an exception.| Constructor and Description |
|---|
CoroutineScopeException(java.util.Collection<Continuation<?>> rFailed)
Creates a new instance from the continuations of failed coroutines.
|
CoroutineScopeException(java.lang.Throwable eCause,
java.util.Collection<Continuation<?>> rFailed)
Creates a new instance from an explicit causing exception and optional
continuations of failed coroutines.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<Continuation<?>> |
getFailedContinuations()
Returns the failed continuations that caused this exception.
|
public CoroutineScopeException(java.util.Collection<Continuation<?>> rFailed)
rFailed - The failed continuationspublic CoroutineScopeException(java.lang.Throwable eCause,
java.util.Collection<Continuation<?>> rFailed)
eCause - The causing exceptionrFailed - The failed continuations (optional)public java.util.Collection<Continuation<?>> getFailedContinuations()
Continuation.getError().