|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.quartz.SchedulerException
|
+--org.quartz.JobExecutionException
An exception that can be thrown by a
to indicate to the Quartz Job that an error
occured while executing, and whether or not the SchedulerJob requests
to be re-fired immediately (using the same ,
or whether it wants to be unscheduled.
JobExecutionContext
Note that if the flag for 'refire immediately' is set, the flags for unscheduling the Job are ignored.
Job,
JobExecutionContext,
SchedulerException, Serialized Form| Constructor Summary | |
JobExecutionException()
Create a JobExcecutionException, with the 're-fire immediately' flag set to false. |
|
JobExecutionException(boolean refireImmediately)
Create a JobExcecutionException with the 're-fire immediately' flag set to the given value. |
|
JobExecutionException(java.lang.Exception cause)
Create a JobExcecutionException, with the given cause. |
|
JobExecutionException(java.lang.Exception cause,
boolean refireImmediately)
Create a JobExcecutionException with the given underlying exception, and the 're-fire immediately' flag set to the given value. |
|
JobExecutionException(java.lang.String msg)
Create a JobExcecutionException, with the given message. |
|
JobExecutionException(java.lang.String msg,
java.lang.Exception cause,
boolean refireImmediately)
Create a JobExcecutionException with the given message, and underlying exception, and the 're-fire immediately' flag set to the given value. |
|
| Method Summary | |
boolean |
refireImmediately()
|
void |
setUnscheduleAllTriggers(boolean unscheduleAllTriggs)
|
void |
setUnscheduleFiringTrigger(boolean unscheduleTrigg)
|
boolean |
unscheduleAllTriggers()
|
boolean |
unscheduleFiringTrigger()
|
| Methods inherited from class org.quartz.SchedulerException |
getErrorCode, getUnderlyingException, isClientError, isConfigurationError, isJobListenerError, isPersistenceError, isThreadPoolError, isTriggerListenerError, printStackTrace, printStackTrace, printStackTrace, setErrorCode, toString |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public JobExecutionException()
Create a JobExcecutionException, with the 're-fire immediately' flag set
to false.
public JobExecutionException(java.lang.Exception cause)
Create a JobExcecutionException, with the given cause.
public JobExecutionException(java.lang.String msg)
Create a JobExcecutionException, with the given message.
public JobExecutionException(boolean refireImmediately)
Create a JobExcecutionException with the 're-fire immediately' flag set to the given value.
public JobExecutionException(java.lang.Exception cause,
boolean refireImmediately)
Create a JobExcecutionException with the given underlying exception, and the 're-fire immediately' flag set to the given value.
public JobExecutionException(java.lang.String msg,
java.lang.Exception cause,
boolean refireImmediately)
Create a JobExcecutionException with the given message, and underlying exception, and the 're-fire immediately' flag set to the given value.
| Method Detail |
public boolean refireImmediately()
public void setUnscheduleFiringTrigger(boolean unscheduleTrigg)
public boolean unscheduleFiringTrigger()
public void setUnscheduleAllTriggers(boolean unscheduleAllTriggs)
public boolean unscheduleAllTriggers()
|
Quartz Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||