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.
Public Constructor Summary
CancellationException()
Constructs a
CancellationException with no detail message. |
|
CancellationException(String message)
Constructs a
CancellationException with the specified detail
message. |
Inherited Method Summary
Public Constructors
public CancellationException ()
Constructs a CancellationException
with no detail message.
public CancellationException (String message)
Constructs a CancellationException
with the specified detail
message.
Parameters
message | the detail message |
---|