| Modifier and Type | Field and Description |
|---|---|
| private final Collection | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | FailedPromisesException(Collection<Promise<?>>
A collection of Promises that have been resolved with a
failure. Must not be failed, Throwable null, must not be empty and all of
the elements in the collection must not be null.The cause of this exception. This is typically the failure
of the first Promise in the specified collection. cause)Create a new FailedPromisesException with the specified Promises. |
| Modifier and Type | Method and Description |
|---|---|
| public Collection | Returns: The collection of Promises that have been resolved with a failure. The returned collection is unmodifiable.Returns the collection of Promises that have been resolved with a failure. |
| failed | back to summary |
|---|---|
| private final Collection<Promise<?>> failed | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| FailedPromisesException | back to summary |
|---|---|
| public FailedPromisesException(Collection<Promise<?>> failed, Throwable cause) Create a new FailedPromisesException with the specified Promises.
| |
| getFailedPromises | back to summary |
|---|---|
| public Collection Returns the collection of Promises that have been resolved with a failure.
| |