public class JobExecutionException extends SchedulerException
Job to indicate to the Quartz Scheduler that an
error occurred while executing, and whether or not the Job requests to be re-fired immediately (using the same
JobExecutionContext, or whether it wants to be unscheduled.
Note that if the flag for 'refire immediately' is set, the flags for unscheduling the Job are ignored.
Job,
JobExecutionContext,
SchedulerException,
Serialized Form| Constructor and Description |
|---|
JobExecutionException()
Create a JobExcecutionException, with the 're-fire immediately' flag set to
false. |
JobExecutionException(Throwable cause,
boolean refireImmediately)
Create a JobExcecutionException with the given underlying exception, and the 're-fire immediately' flag set to the given value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
refireImmediately() |
void |
setRefireImmediately(boolean refire) |
void |
setUnscheduleAllTriggers(boolean unscheduleAllTriggs) |
void |
setUnscheduleFiringTrigger(boolean unscheduleTrigg) |
boolean |
unscheduleAllTriggers() |
boolean |
unscheduleFiringTrigger() |
getUnderlyingException, toStringaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic JobExecutionException()
Create a JobExcecutionException, with the 're-fire immediately' flag set to false.
public JobExecutionException(Throwable cause, boolean refireImmediately)
Create a JobExcecutionException with the given underlying exception, and the 're-fire immediately' flag set to the given value.
public void setRefireImmediately(boolean refire)
public boolean refireImmediately()
public void setUnscheduleFiringTrigger(boolean unscheduleTrigg)
public boolean unscheduleFiringTrigger()
public void setUnscheduleAllTriggers(boolean unscheduleAllTriggs)
public boolean unscheduleAllTriggers()
Copyright © 2011–2017 Knowm Inc.. All rights reserved.