public class FailedPromisesException extends RuntimeException
| Constructor and Description |
|---|
FailedPromisesException(Collection<Promise<?>> failed)
Create a new FailedPromisesException with the specified Promises.
|
FailedPromisesException(Collection<Promise<?>> failed,
Throwable cause)
Create a new FailedPromisesException with the specified Promises.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Promise<?>> |
getFailedPromises()
Returns the collection of Promises that have been resolved with a failure.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic FailedPromisesException(Collection<Promise<?>> failed)
failed - A collection of Promises that have been resolved with a failure. Must not be null.public FailedPromisesException(Collection<Promise<?>> failed, Throwable cause)
failed - A collection of Promises that have been resolved with a failure. Must not be null.cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null
value is permitted, and indicates that the cause is nonexistent or unknown.)public Collection<Promise<?>> getFailedPromises()
Copyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.