Home » quartz-1.6.0 » org » quartz » [javadoc | source]
org.quartz
public class: JobExecutionException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         org.quartz.SchedulerException
            org.quartz.JobExecutionException

All Implemented Interfaces:
    Serializable

An exception that can be thrown by a org.quartz.Job to indicate to the Quartz Scheduler that an error occured 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.

Fields inherited from org.quartz.SchedulerException:
ERR_UNSPECIFIED,  ERR_BAD_CONFIGURATION,  ERR_TIME_BROKER_FAILURE,  ERR_CLIENT_ERROR,  ERR_COMMUNICATION_FAILURE,  ERR_UNSUPPORTED_FUNCTION_IN_THIS_CONFIGURATION,  ERR_PERSISTENCE,  ERR_PERSISTENCE_JOB_DOES_NOT_EXIST,  ERR_PERSISTENCE_CALENDAR_DOES_NOT_EXIST,  ERR_PERSISTENCE_TRIGGER_DOES_NOT_EXIST,  ERR_PERSISTENCE_CRITICAL_FAILURE,  ERR_THREAD_POOL,  ERR_THREAD_POOL_EXHAUSTED,  ERR_THREAD_POOL_CRITICAL_FAILURE,  ERR_JOB_LISTENER,  ERR_JOB_LISTENER_NOT_FOUND,  ERR_TRIGGER_LISTENER,  ERR_TRIGGER_LISTENER_NOT_FOUND,  ERR_JOB_EXECUTION_THREW_EXCEPTION,  ERR_TRIGGER_THREW_EXCEPTION
Constructor:
 public JobExecutionException() 
 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) 
 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,
    boolean refireImmediately) 
    Create a JobExcecutionException with the given message and the 're-fire immediately' flag set to the given value.
 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.

Method from org.quartz.JobExecutionException Summary:
refireImmediately,   setUnscheduleAllTriggers,   setUnscheduleFiringTrigger,   unscheduleAllTriggers,   unscheduleFiringTrigger
Methods from org.quartz.SchedulerException:
getErrorCode,   getUnderlyingException,   isClientError,   isConfigurationError,   isJobListenerError,   isPersistenceError,   isThreadPoolError,   isTriggerListenerError,   printStackTrace,   printStackTrace,   printStackTrace,   setErrorCode,   toString
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.quartz.JobExecutionException Detail:
 public boolean refireImmediately() 
 public  void setUnscheduleAllTriggers(boolean unscheduleAllTriggs) 
 public  void setUnscheduleFiringTrigger(boolean unscheduleTrigg) 
 public boolean unscheduleAllTriggers() 
 public boolean unscheduleFiringTrigger()