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 FormConstructor and Description |
---|
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(String msg)
Create a JobExcecutionException, with the given message.
|
JobExecutionException(String msg,
boolean refireImmediately)
Create a JobExcecutionException with the given message and the 're-fire
immediately' flag set to the given value.
|
JobExecutionException(String msg,
Throwable cause)
Create a JobExcecutionException with the given message, and underlying
exception.
|
JobExecutionException(String msg,
Throwable cause,
boolean refireImmediately)
Create a JobExcecutionException with the given message, and underlying
exception, and the 're-fire immediately' flag set to the given value.
|
JobExecutionException(Throwable cause)
Create a JobExcecutionException, with the given cause.
|
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, toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public JobExecutionException()
Create a JobExcecutionException, with the 're-fire immediately' flag set
to false
.
public JobExecutionException(Throwable cause)
Create a JobExcecutionException, with the given cause.
public JobExecutionException(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(Throwable cause, boolean refireImmediately)
Create a JobExcecutionException with the given underlying exception, and the 're-fire immediately' flag set to the given value.
public JobExecutionException(String msg, Throwable cause)
Create a JobExcecutionException with the given message, and underlying exception.
public JobExecutionException(String msg, Throwable cause, boolean refireImmediately)
Create a JobExcecutionException with the given message, and underlying exception, and the 're-fire immediately' flag set to the given value.
public JobExecutionException(String msg, boolean refireImmediately)
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 2001-2019, Terracotta, Inc.