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 |
Inherited Method Summary
Public Methods
public static IllegalStateException of (Task<?> task)
Creates a
DuplicateTaskCompletionException
from a Task
.
The Task
must be
complete.