| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception org.quartz.SchedulerException
All known Subclasses: org.quartz.UnableToInterruptJobException, org.quartz.CriticalSchedulerException, org.quartz.jobs.ee.jms.JmsJobException, org.quartz.JobExecutionException, org.quartz.SchedulerConfigException, org.quartz.JobPersistenceException,
SchedulerException | public class SchedulerException extends Exception (Code) | |
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 .
author: James House |
Method Summary | |
public int | getErrorCode()
Get the error code associated with this exception. | public Throwable | getUnderlyingException()
Return the exception that is the underlying cause of this exception. | 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. | public void | printStackTrace(PrintStream out)
Print a stack trace to the specified stream. | public void | printStackTrace(PrintWriter out)
Print a stack trace to the specified writer. | public void | setErrorCode(int errorCode)
Get the error code associated with this exception. | public String | toString() |
ERR_BAD_CONFIGURATION | final public static int ERR_BAD_CONFIGURATION(Code) | | |
ERR_CLIENT_ERROR | final public static int ERR_CLIENT_ERROR(Code) | | |
ERR_COMMUNICATION_FAILURE | final public static int ERR_COMMUNICATION_FAILURE(Code) | | |
ERR_JOB_EXECUTION_THREW_EXCEPTION | final public static int ERR_JOB_EXECUTION_THREW_EXCEPTION(Code) | | |
ERR_JOB_LISTENER | final public static int ERR_JOB_LISTENER(Code) | | |
ERR_JOB_LISTENER_NOT_FOUND | final public static int ERR_JOB_LISTENER_NOT_FOUND(Code) | | |
ERR_PERSISTENCE | final public static int ERR_PERSISTENCE(Code) | | |
ERR_PERSISTENCE_CALENDAR_DOES_NOT_EXIST | final public static int ERR_PERSISTENCE_CALENDAR_DOES_NOT_EXIST(Code) | | |
ERR_PERSISTENCE_CRITICAL_FAILURE | final public static int ERR_PERSISTENCE_CRITICAL_FAILURE(Code) | | |
ERR_PERSISTENCE_JOB_DOES_NOT_EXIST | final public static int ERR_PERSISTENCE_JOB_DOES_NOT_EXIST(Code) | | |
ERR_PERSISTENCE_TRIGGER_DOES_NOT_EXIST | final public static int ERR_PERSISTENCE_TRIGGER_DOES_NOT_EXIST(Code) | | |
ERR_THREAD_POOL | final public static int ERR_THREAD_POOL(Code) | | |
ERR_THREAD_POOL_CRITICAL_FAILURE | final public static int ERR_THREAD_POOL_CRITICAL_FAILURE(Code) | | |
ERR_THREAD_POOL_EXHAUSTED | final public static int ERR_THREAD_POOL_EXHAUSTED(Code) | | |
ERR_TIME_BROKER_FAILURE | final public static int ERR_TIME_BROKER_FAILURE(Code) | | |
ERR_TRIGGER_LISTENER | final public static int ERR_TRIGGER_LISTENER(Code) | | |
ERR_TRIGGER_LISTENER_NOT_FOUND | final public static int ERR_TRIGGER_LISTENER_NOT_FOUND(Code) | | |
ERR_TRIGGER_THREW_EXCEPTION | final public static int ERR_TRIGGER_THREW_EXCEPTION(Code) | | |
ERR_UNSPECIFIED | final public static int ERR_UNSPECIFIED(Code) | | |
ERR_UNSUPPORTED_FUNCTION_IN_THIS_CONFIGURATION | final public static int ERR_UNSUPPORTED_FUNCTION_IN_THIS_CONFIGURATION(Code) | | |
SchedulerException | public SchedulerException()(Code) | | |
SchedulerException | public SchedulerException(String msg)(Code) | | |
SchedulerException | public SchedulerException(String msg, int errorCode)(Code) | | |
getErrorCode | public int getErrorCode()(Code) | |
Get the error code associated with this exception.
This may be used to find more detail about the cause of the error.
one of the ERR_XXX constants defined in this class. |
getUnderlyingException | public Throwable getUnderlyingException()(Code) | |
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.
the underlying exception, or null if there is notone. |
isClientError | public boolean isClientError()(Code) | |
Determine if the specified error code is in the 'ERR_CLIENT_ERROR'
category of errors.
|
isConfigurationError | public boolean isConfigurationError()(Code) | |
Determine if the specified error code is in the 'ERR_CLIENT_ERROR'
category of errors.
|
isJobListenerError | public boolean isJobListenerError()(Code) | |
Determine if the specified error code is in the 'ERR_JOB_LISTENER'
category of errors.
|
isPersistenceError | public boolean isPersistenceError()(Code) | |
Determine if the specified error code is in the 'ERR_PERSISTENCE'
category of errors.
|
isThreadPoolError | public boolean isThreadPoolError()(Code) | |
Determine if the specified error code is in the 'ERR_THREAD_POOL'
category of errors.
|
isTriggerListenerError | public boolean isTriggerListenerError()(Code) | |
Determine if the specified error code is in the 'ERR_TRIGGER_LISTENER'
category of errors.
|
printStackTrace | public void printStackTrace()(Code) | |
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.
|
printStackTrace | public void printStackTrace(PrintStream out)(Code) | |
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.
Parameters: out - the stream to which the stack traces will be printed. |
printStackTrace | public void printStackTrace(PrintWriter out)(Code) | |
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.
Parameters: out - the writer to which the stack traces will be printed. |
setErrorCode | public void setErrorCode(int errorCode)(Code) | |
Get the error code associated with this exception.
This may be used to provide more detail about the cause of the error.
Parameters: errorCode - one of the ERR_XXX constants defined in this class. |
|
|
|