Table of Contents

Class JobInstantiationException

Namespace
Quartz
Assembly
Quartz.dll

Thrown when the IJobFactory cannot produce a job instance for a trigger that has already fired.

public sealed class JobInstantiationException : SchedulerException, ISerializable
Inheritance
JobInstantiationException
Implements
Inherited Members

Remarks

The failure happens before there is an IJobExecutionContext, so no ITriggerListener or IJobListener callback can be raised for it and SchedulerError(IScheduler, SchedulerErrorContext, CancellationToken) is the only notification the scheduler makes. This exception carries the identity of what failed, so that a listener can act on it without parsing the message text.

Properties

FireInstanceId

Identifies this particular firing, matching FireInstanceId of the execution that never started.

public string FireInstanceId { get; }

Property Value

string

JobDetail

The job that could not be instantiated.

public IJobDetail JobDetail { get; }

Property Value

IJobDetail

Trigger

The trigger whose firing could not be served.

public ITrigger Trigger { get; }

Property Value

ITrigger

Remarks

Typed as ITrigger rather than IOperableTrigger: this is here to be read, and mutating the scheduler's trigger from an error handler is not supported.