Table of Contents

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

innerException Exception

The cause, whose message becomes this exception's.

Exceptions

ArgumentNullException

innerException is null.

SchedulerException(string)

Initializes a new instance of the SchedulerException class.

public SchedulerException(string message)

Parameters

message string

What went wrong.

SchedulerException(string, Exception?)

Initializes a new instance of the SchedulerException class.

public SchedulerException(string message, Exception? innerException)

Parameters

message string

What went wrong.

innerException Exception

The cause.

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.