Uses of Class
java.util.concurrent.ExecutionException

Packages that use ExecutionException
Package
Description
Utility classes commonly useful in concurrent programming.
Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
  • Uses of ExecutionException in java.util.concurrent

    Modifier and Type
    Method
    Description
    CompletableFuture.get()
    Waits if necessary for this future to complete, and then returns its result.
    CompletableFuture.get(long timeout, TimeUnit unit)
    Waits if necessary for at most the given time for this future to complete, and then returns its result, if available.
    final V
    ForkJoinTask.get()
    Waits if necessary for the computation to complete, and then retrieves its result.
    final V
    ForkJoinTask.get(long timeout, TimeUnit unit)
    Waits if necessary for at most the given time for the computation to complete, and then retrieves its result, if available.
    Future.get()
    Waits if necessary for the computation to complete, and then retrieves its result.
    Future.get(long timeout, TimeUnit unit)
    Waits if necessary for at most the given time for the computation to complete, and then retrieves its result, if available.
    FutureTask.get()
     
    FutureTask.get(long timeout, TimeUnit unit)
     
    <T> T
    AbstractExecutorService.invokeAny(Collection<? extends Callable<T>> tasks)
     
    <T> T
    AbstractExecutorService.invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
     
    <T> T
    ExecutorService.invokeAny(Collection<? extends Callable<T>> tasks)
    Executes the given tasks, returning the result of one that has completed successfully (i.e., without throwing an exception), if any do.
    <T> T
    ExecutorService.invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
    Executes the given tasks, returning the result of one that has completed successfully (i.e., without throwing an exception), if any do before the given timeout elapses.
    StructuredTaskScope.ShutdownOnSuccess.result()
    Returns the result of the first subtask that completed successfullyPREVIEW.
    void
    StructuredTaskScope.ShutdownOnFailure.throwIfFailed()
    Throws if a subtask failedPREVIEW.
  • Uses of ExecutionException in javax.swing

    Methods in javax.swing that throw ExecutionException
    Modifier and Type
    Method
    Description
    final T
    SwingWorker.get()
    Waits if necessary for the computation to complete, and then retrieves its result.
    final T
    SwingWorker.get(long timeout, TimeUnit unit)
    Waits if necessary for at most the given time for the computation to complete, and then retrieves its result, if available.