java.lang.Object | |||||
↳ | java.lang.Throwable | ||||
↳ | java.lang.Exception | ||||
↳ | java.lang.RuntimeException | ||||
↳ | java.lang.IllegalStateException | ||||
↳ | java.util.concurrent.CancellationException |
Exception indicating that the result of a value-producing task,
such as a
FutureTask
, cannot be retrieved because the task
was cancelled.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Constructs a
CancellationException
with no detail message.
|
||||||||||
|
Constructs a
CancellationException
with the specified detail
message.
|
[Expand]
Inherited Methods
|
|||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
|
|||||||||||||||||||||||||||||||||||||
From class
java.lang.Object
|
Constructs a
CancellationException
with no detail message.
Constructs a
CancellationException
with the specified detail
message.
message | the detail message |
---|