? FailedPromisesException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.osgi.util.promise.FailedPromisesException
- ????????:
Serializable
Promise failure exception for a collection of failed Promises.
- ????:
-
?????
????????FailedPromisesException
(Collection<Promise<?>> failed, Throwable cause) Create a new FailedPromisesException with the specified Promises. -
????
??????????Collection<Promise<?>>
Returns the collection of Promises that have been resolved with a failure.
-
???????
-
FailedPromisesException
Create a new FailedPromisesException with the specified Promises.- ??:
failed
- A collection of Promises that have been resolved with a failure. Must not benull
, must not be empty and all of the elements in the collection must not benull
.cause
- The cause of this exception. This is typically the failure of the first Promise in the specified collection.
-
-
??????
-
getFailedPromises
Returns the collection of Promises that have been resolved with a failure.- ??:
- The collection of Promises that have been resolved with a failure. The returned collection is unmodifiable.
-