org.quartz
Class SchedulerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.quartz.SchedulerException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
JmsJobException, JobExecutionException, JobPersistenceException, SchedulerConfigException, UnableToInterruptJobException

public class SchedulerException
extends java.lang.Exception

Base class for exceptions thrown by the Quartz Scheduler.

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

Author:
James House
See Also:
Serialized Form

Constructor Summary
SchedulerException()
           
SchedulerException(java.lang.String msg)
           
SchedulerException(java.lang.String msg, java.lang.Throwable cause)
           
SchedulerException(java.lang.Throwable cause)
           
 
Method Summary
 java.lang.Throwable getUnderlyingException()
           Return the exception that is the underlying cause of 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
 

Constructor Detail

SchedulerException

public SchedulerException()

SchedulerException

public SchedulerException(java.lang.String msg)

SchedulerException

public SchedulerException(java.lang.Throwable cause)

SchedulerException

public SchedulerException(java.lang.String msg,
                          java.lang.Throwable cause)
Method Detail

getUnderlyingException

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.

Returns:
the underlying exception, or null if there is not one.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable


Copyright 2001-2011, Terracotta, Inc.