edu.emory.mathcs.backport.java.util.concurrent
Class CancellationException
IllegalStateException
edu.emory.mathcs.backport.java.util.concurrent.CancellationException
public class CancellationException
extends IllegalStateException
Exception indicating that the result of a value-producing task,
such as a
FutureTask
, cannot be retrieved because the task
was cancelled.
CancellationException
public CancellationException()
Constructs a CancellationException with no detail message.
CancellationException
public CancellationException(String message)
Constructs a CancellationException with the specified detail
message.
message
- the detail message