Class SchedulerException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.quartz.exceptions.SchedulerException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JobExecutionException, JobPersistenceException, SchedulerConfigException

public class SchedulerException extends 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:
  • Constructor Details

    • SchedulerException

      public SchedulerException()
    • SchedulerException

      public SchedulerException(String msg)
    • SchedulerException

      public SchedulerException(String msg, Throwable cause)
  • Method Details

    • getUnderlyingException

      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.

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

      public String toString()
      Overrides:
      toString in class Throwable