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

All Implemented Interfaces:
    Serializable

Direct Known Subclasses:
    SchedulerConfigException, ObjectAlreadyExistsException, LockException, JmsJobException, NoSuchDelegateException, UnableToInterruptJobException, JobPersistenceException, JobExecutionException, CriticalSchedulerException

Base class for exceptions thrown by the Quartz Scheduler .

SchedulerException s may contain a reference to another Exception, which was the underlying cause of the SchedulerException.

Field Summary
public static final  int ERR_UNSPECIFIED     
public static final  int ERR_BAD_CONFIGURATION     
public static final  int ERR_TIME_BROKER_FAILURE     
public static final  int ERR_CLIENT_ERROR     
public static final  int ERR_COMMUNICATION_FAILURE     
public static final  int ERR_UNSUPPORTED_FUNCTION_IN_THIS_CONFIGURATION     
public static final  int ERR_PERSISTENCE     
public static final  int ERR_PERSISTENCE_JOB_DOES_NOT_EXIST     
public static final  int ERR_PERSISTENCE_CALENDAR_DOES_NOT_EXIST     
public static final  int ERR_PERSISTENCE_TRIGGER_DOES_NOT_EXIST     
public static final  int ERR_PERSISTENCE_CRITICAL_FAILURE     
public static final  int ERR_THREAD_POOL     
public static final  int ERR_THREAD_POOL_EXHAUSTED     
public static final  int ERR_THREAD_POOL_CRITICAL_FAILURE     
public static final  int ERR_JOB_LISTENER     
public static final  int ERR_JOB_LISTENER_NOT_FOUND     
public static final  int ERR_TRIGGER_LISTENER     
public static final  int ERR_TRIGGER_LISTENER_NOT_FOUND     
public static final  int ERR_JOB_EXECUTION_THREW_EXCEPTION     
public static final  int ERR_TRIGGER_THREW_EXCEPTION     
Constructor:
 public SchedulerException() 
 public SchedulerException(String msg) 
 public SchedulerException(Throwable cause) 
 public SchedulerException(String msg,
    int errorCode) 
 public SchedulerException(String msg,
    Throwable cause) 
 public SchedulerException(String msg,
    Throwable cause,
    int errorCode) 
Method from org.quartz.SchedulerException Summary:
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.SchedulerException Detail:
 public int getErrorCode() 

    Get the error code associated with this exception.

    This may be used to find more detail about the cause of the error.

 public Throwable getUnderlyingException() 

    Return the exception that is the underlying cause of this exception.

    This may be used to find more detail about the cause of the error.

 public boolean isClientError() 

    Determine if the specified error code is in the 'ERR_CLIENT_ERROR' category of errors.

 public boolean isConfigurationError() 

    Determine if the specified error code is in the 'ERR_CLIENT_ERROR' category of errors.

 public boolean isJobListenerError() 

    Determine if the specified error code is in the 'ERR_JOB_LISTENER' category of errors.

 public boolean isPersistenceError() 

    Determine if the specified error code is in the 'ERR_PERSISTENCE' category of errors.

 public boolean isThreadPoolError() 

    Determine if the specified error code is in the 'ERR_THREAD_POOL' category of errors.

 public boolean isTriggerListenerError() 

    Determine if the specified error code is in the 'ERR_TRIGGER_LISTENER' category of errors.

 public  void printStackTrace() 

    Print a stack trace to the standard error stream.

    This overridden version will print the nested stack trace if available, otherwise it prints only this exception's stack.

 public  void printStackTrace(PrintStream out) 

    Print a stack trace to the specified stream.

    This overridden version will print the nested stack trace if available, otherwise it prints only this exception's stack.

 public  void printStackTrace(PrintWriter out) 

    Print a stack trace to the specified writer.

    This overridden version will print the nested stack trace if available, otherwise it prints this exception's stack.

 public  void setErrorCode(int errorCode) 

    Get the error code associated with this exception.

    This may be used to provide more detail about the cause of the error.

 public String toString()