Class SchedulerException
- Namespace
- Quartz
- Assembly
- Quartz.dll
Base class for exceptions thrown by the Quartz IScheduler.
public class SchedulerException : Exception, ISerializable
- Inheritance
-
SchedulerException
- Implements
- Derived
- Inherited Members
Remarks
SchedulerExceptions may contain a reference to another Exception, which was the underlying cause of the SchedulerException.
Constructors
SchedulerException()
Initializes a new instance of the SchedulerException class.
public SchedulerException()
SchedulerException(Exception)
Initializes a new instance of the SchedulerException class.
public SchedulerException(Exception innerException)
Parameters
innerExceptionExceptionThe cause, whose message becomes this exception's.
Exceptions
- ArgumentNullException
innerExceptionis null.
SchedulerException(string)
Initializes a new instance of the SchedulerException class.
public SchedulerException(string message)
Parameters
messagestringWhat went wrong.
SchedulerException(string, Exception?)
Initializes a new instance of the SchedulerException class.
public SchedulerException(string message, Exception? innerException)
Parameters
Methods
ToString()
Creates and returns a string representation of the current exception.
public override string ToString()
Returns
- string
A string representation of the current exception, with the cause appended when there is one.