Stay organized with collections Save and categorize content based on your preferences.
public final class DuplicateTaskCompletionException extends IllegalStateException

An exception indicating that something attempted to set a result, exception, or cancellation on a Task that was already completed.

Public Method Summary

static IllegalStateException
of(Task<?> task)

Inherited Method Summary

Public Methods

public static IllegalStateException of (Task<?> task)

Creates a DuplicateTaskCompletionException from a Task.

The Task must be complete.