public class CancellationException extends IllegalStateException
FutureTask, cannot be retrieved because the task was cancelled.
| Constructor and Description |
|---|
CancellationException()
Constructs a
CancellationException with no detail message.
|
CancellationException(String
Constructs a
CancellationException with the specified detail message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CancellationException()
CancellationException with no detail message.
public CancellationException(Stringmessage)
CancellationException with the specified detail message.
message - the detail message