Serializablepublic class CancellationException extends IllegalStateException
FutureTask, cannot be retrieved because the task
was cancelled.| 构造器 | 说明 |
|---|---|
CancellationException() |
Constructs a
CancellationException with no detail message. |
CancellationException(String message) |
Constructs a
CancellationException with the specified detail
message. |
public CancellationException()
CancellationException with no detail message.public CancellationException(String message)
CancellationException with the specified detail
message.message - the detail message