Package oracle.as.scheduler
Class ExecutionCancelledException
java.lang.Object
java.lang.Throwable
java.lang.Exception
oracle.as.scheduler.SchedulerException
oracle.as.scheduler.ExecutionCancelledException
- All Implemented Interfaces:
Serializable
Exception used by the
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.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new exception withnulldetail 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.Constructs a new exception with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExecutionCancelledException
public ExecutionCancelledException()Constructs a new exception withnulldetail message. The cause is not initialized. -
ExecutionCancelledException
Constructs a new exception with the specified detail message. The cause is not initialized.- Parameters:
message- the detail message. This can be retrieved by thegetMessagemethod.
-
ExecutionCancelledException
Constructs a new exception with the specified detail message and cause.- Parameters:
message- the detail message. This can be retrieved by thegetMessagemethod.cause- the cause. This can be retrieved by thegetCausemethod.
-
ExecutionCancelledException
Constructs a new exception with the specified cause. The detail message will benull.- Parameters:
cause- the cause. This can be retrieved by thegetCausemethod.
-