public class JobPersistenceException extends SchedulerException
An exception that is thrown to indicate that there has been a failure in the scheduler's underlying persistence mechanism.
ERR_BAD_CONFIGURATION, ERR_CLIENT_ERROR, ERR_COMMUNICATION_FAILURE, ERR_JOB_EXECUTION_THREW_EXCEPTION, ERR_JOB_LISTENER, ERR_JOB_LISTENER_NOT_FOUND, ERR_PERSISTENCE, ERR_PERSISTENCE_CALENDAR_DOES_NOT_EXIST, ERR_PERSISTENCE_CRITICAL_FAILURE, ERR_PERSISTENCE_JOB_DOES_NOT_EXIST, ERR_PERSISTENCE_TRIGGER_DOES_NOT_EXIST, ERR_THREAD_POOL, ERR_THREAD_POOL_CRITICAL_FAILURE, ERR_THREAD_POOL_EXHAUSTED, ERR_TIME_BROKER_FAILURE, ERR_TRIGGER_LISTENER, ERR_TRIGGER_LISTENER_NOT_FOUND, ERR_TRIGGER_THREW_EXCEPTION, ERR_UNSPECIFIED, ERR_UNSUPPORTED_FUNCTION_IN_THIS_CONFIGURATION
Constructor and Description |
---|
JobPersistenceException(java.lang.String msg)
Create a
JobPersistenceException with the given message. |
JobPersistenceException(java.lang.String msg,
int errCode)
Create a
JobPersistenceException with the given message
and error code. |
JobPersistenceException(java.lang.String msg,
java.lang.Throwable cause)
Create a
JobPersistenceException with the given message
and cause. |
JobPersistenceException(java.lang.String msg,
java.lang.Throwable cause,
int errorCode)
Create a
JobPersistenceException with the given message,
cause and error code. |
getErrorCode, getUnderlyingException, isClientError, isConfigurationError, isJobListenerError, isPersistenceError, isThreadPoolError, isTriggerListenerError, printStackTrace, printStackTrace, printStackTrace, setErrorCode, toString
public JobPersistenceException(java.lang.String msg)
Create a JobPersistenceException
with the given message.
public JobPersistenceException(java.lang.String msg, int errCode)
Create a JobPersistenceException
with the given message
and error code.
public JobPersistenceException(java.lang.String msg, java.lang.Throwable cause)
Create a JobPersistenceException
with the given message
and cause.
public JobPersistenceException(java.lang.String msg, java.lang.Throwable cause, int errorCode)
Create a JobPersistenceException
with the given message,
cause and error code.