public class FailedPromisesException
extends java.lang.RuntimeException
Constructor and Description |
---|
FailedPromisesException(java.util.Collection<Promise<?>> failed,
java.lang.Throwable cause)
Create a new FailedPromisesException with the specified Promises.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Promise<?>> |
getFailedPromises()
Returns the collection of Promises that have been resolved with a
failure.
|
public FailedPromisesException(java.util.Collection<Promise<?>> failed, java.lang.Throwable cause)
failed
- A collection of Promises that have been resolved with a
failure. Must not be null
, must not be empty and all of
the elements in the collection must not be null
.cause
- The cause of this exception. This is typically the failure
of the first Promise in the specified collection.public java.util.Collection<Promise<?>> getFailedPromises()
Copyright © 2010 - 2020 Adobe. All Rights Reserved