|
Oracle Fusion Applications Java API Reference for Oracle Enterprise Scheduler Service 11g Release 1 (11.1.1.6) E20742-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception oracle.as.scheduler.SchedulerException oracle.as.scheduler.ExecutionPausedException
public final class ExecutionPausedException
Exception used by the Executable
interface to indicate request
execution should be paused to allow submitted sub-requests to execute.
A request executable that submits a sub-request must pause before the
sub-request will be executed. After a job Executable
submits
a sub-request, this exception must thrown by the request executable
so the Scheduler subsystem will pause the request.
An application paused state value can be associated with this exception. The paused state will be available to the resumed request via the request execution context when the request is resumed.
Executable
,
Serialized FormConstructor Summary | |
---|---|
ExecutionPausedException()
Constructs a new exception with null detail message
and null paused state. |
|
ExecutionPausedException(java.lang.String message)
Constructs a new exception with the specified detail message and null paused state. |
|
ExecutionPausedException(java.lang.String message,
java.lang.String state)
Constructs a new exception with the specified detail message and paused state. |
Method Summary | |
---|---|
java.lang.String |
getPausedState()
Gets the paused state associated with this exception. |
void |
setPausedState(java.lang.String state)
Sets the paused state associated with this exception. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExecutionPausedException()
null
detail message
and null
paused state. The cause is not initialized.
public ExecutionPausedException(java.lang.String message)
null
paused state. The cause is not initialized.
message
- the detail message. This can be retrieved by
the getMessage
method.public ExecutionPausedException(java.lang.String message, java.lang.String state)
The paused state will be made available to the request executable once the sub-requests have completed and the request is resumed.
message
- the detail message. This can be retrieved by
the getMessage
method.state
- the application-specified paused state. This can
be retrieved by the getPausedState
method.Method Detail |
---|
public java.lang.String getPausedState()
null
if nonepublic void setPausedState(java.lang.String state)
state
- the application-specified paused state.
This can be null
.
|
Oracle Fusion Applications Java API Reference for Oracle Enterprise Scheduler Service 11g Release 1 (11.1.1.6) E20742-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |