public final class ExecutionCancelledException extends SchedulerException
Executable
interface to indicate execution cancelled. This exception should be thrown when a condition is encountered such that futher request processing should be cancelled.
This exception may also be thrown by a pre-process callback or post-process callback that detects a condition for request cancellation.
Executable
, PreProcessHandler
, PostProcessHandler
, Serialized FormConstructor and Description |
---|
ExecutionCancelledException()
Constructs a new exception with
null detail message. |
ExecutionCancelledException(String message)
Constructs a new exception with the specified detail message.
|
ExecutionCancelledException(String message, Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
ExecutionCancelledException(Throwable cause)
Constructs a new exception with the specified cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ExecutionCancelledException()
null
detail message. The cause is not initialized.public ExecutionCancelledException(String message)
message
- the detail message. This can be retrieved by the getMessage
method.public ExecutionCancelledException(String message, Throwable cause)
message
- the detail message. This can be retrieved by the getMessage
method.cause
- the cause. This can be retrieved by the getCause
method.public ExecutionCancelledException(Throwable cause)
null
.cause
- the cause. This can be retrieved by the getCause
method.