Package org.quartz
Class SchedulerException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.quartz.SchedulerException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
JobExecutionException
,JobPersistenceException
,SchedulerConfigException
,UnableToInterruptJobException
public class SchedulerException extends java.lang.Exception
Base class for exceptions thrown by the Quartz
.Scheduler
SchedulerException
s may contain a reference to anotherException
, which was the underlying cause of theSchedulerException
.- Author:
- James House
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SchedulerException()
SchedulerException(java.lang.String msg)
SchedulerException(java.lang.String msg, java.lang.Throwable cause)
SchedulerException(java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
getUnderlyingException()
Return the exception that is the underlying cause of this exception.java.lang.String
toString()
-
-
-
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 classjava.lang.Throwable
-
-