|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.quartz.SchedulerException
public class SchedulerException
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 | |
---|---|
static int |
ERR_BAD_CONFIGURATION
|
static int |
ERR_CLIENT_ERROR
|
static int |
ERR_COMMUNICATION_FAILURE
|
static int |
ERR_JOB_EXECUTION_THREW_EXCEPTION
|
static int |
ERR_JOB_LISTENER
|
static int |
ERR_JOB_LISTENER_NOT_FOUND
|
static int |
ERR_PERSISTENCE
|
static int |
ERR_PERSISTENCE_CALENDAR_DOES_NOT_EXIST
|
static int |
ERR_PERSISTENCE_CRITICAL_FAILURE
|
static int |
ERR_PERSISTENCE_JOB_DOES_NOT_EXIST
|
static int |
ERR_PERSISTENCE_TRIGGER_DOES_NOT_EXIST
|
static int |
ERR_THREAD_POOL
|
static int |
ERR_THREAD_POOL_CRITICAL_FAILURE
|
static int |
ERR_THREAD_POOL_EXHAUSTED
|
static int |
ERR_TIME_BROKER_FAILURE
|
static int |
ERR_TRIGGER_LISTENER
|
static int |
ERR_TRIGGER_LISTENER_NOT_FOUND
|
static int |
ERR_TRIGGER_THREW_EXCEPTION
|
static int |
ERR_UNSPECIFIED
|
static int |
ERR_UNSUPPORTED_FUNCTION_IN_THIS_CONFIGURATION
|
Constructor Summary | |
---|---|
SchedulerException()
|
|
SchedulerException(java.lang.String msg)
|
|
SchedulerException(java.lang.String msg,
int errorCode)
|
|
SchedulerException(java.lang.String msg,
java.lang.Throwable cause)
|
|
SchedulerException(java.lang.String msg,
java.lang.Throwable cause,
int errorCode)
|
|
SchedulerException(java.lang.Throwable cause)
|
Method Summary | |
---|---|
int |
getErrorCode()
Get the error code associated with this exception. |
java.lang.Throwable |
getUnderlyingException()
Return the exception that is the underlying cause of this exception. |
boolean |
isClientError()
Determine if the specified error code is in the 'ERR_CLIENT_ERROR'
category of errors. |
boolean |
isConfigurationError()
Determine if the specified error code is in the 'ERR_CLIENT_ERROR'
category of errors. |
boolean |
isJobListenerError()
Determine if the specified error code is in the 'ERR_JOB_LISTENER'
category of errors. |
boolean |
isPersistenceError()
Determine if the specified error code is in the 'ERR_PERSISTENCE'
category of errors. |
boolean |
isThreadPoolError()
Determine if the specified error code is in the 'ERR_THREAD_POOL'
category of errors. |
boolean |
isTriggerListenerError()
Determine if the specified error code is in the 'ERR_TRIGGER_LISTENER'
category of errors. |
void |
setErrorCode(int errorCode)
Get the error code associated with this exception. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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 Detail |
---|
public SchedulerException()
public SchedulerException(java.lang.String msg)
public SchedulerException(java.lang.String msg, int errorCode)
public SchedulerException(java.lang.Throwable cause)
public SchedulerException(java.lang.String msg, java.lang.Throwable cause)
public SchedulerException(java.lang.String msg, java.lang.Throwable cause, int errorCode)
Method Detail |
---|
public java.lang.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.
null
if there is not
one.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 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.
errorCode
- one of the ERR_XXX constants defined in this class.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 isJobListenerError()
Determine if the specified error code is in the 'ERR_JOB_LISTENER'
category of errors.
public boolean isTriggerListenerError()
Determine if the specified error code is in the 'ERR_TRIGGER_LISTENER'
category of errors.
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 java.lang.String toString()
toString
in class java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |