public class JobExecutionException extends SchedulerException
IJob to indicate to the Quartz
IScheduler that an error occurred while executing, and
whether or not the Job requests to be re-fired immediately
(using the same IJobExecutionContext, 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.
IJob,
IJobExecutionContext,
SchedulerException,
Serialized Form| Constructor 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() |
boolean |
unscheduleAllTriggers() |
boolean |
unscheduleFiringTrigger() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic JobExecutionException()
false.public JobExecutionException(Throwable cause)
public JobExecutionException(String msg)
public JobExecutionException(boolean refireImmediately)
public JobExecutionException(Throwable cause, boolean refireImmediately)
public JobExecutionException(String msg, Throwable cause)
public JobExecutionException(String msg, boolean refireImmediately)
Copyright © 2016–2021 Philip Helger. All rights reserved.