C# Class Quartz.ObjectAlreadyExistsException

Inheritance: Quartz.JobPersistenceException
Mostra file Open project: quartznet/quartznet

Public Methods

Method Description
ObjectAlreadyExistsException ( IJobDetail offendingJob ) : System

Create a ObjectAlreadyExistsException and auto-generate a message using the name/group from the given IJobDetail.

The message will read:
"Unable to store Job with name: '__' and group: '__', because one already exists with this identification."

ObjectAlreadyExistsException ( ITrigger offendingTrigger ) : System

Create a ObjectAlreadyExistsException and auto-generate a message using the name/group from the given ITrigger.

The message will read:
"Unable to store Trigger with name: '__' and group: '__', because one already exists with this identification."

ObjectAlreadyExistsException ( string msg ) : System

Create a ObjectAlreadyExistsException with the given message.

Protected Methods

Method Description
ObjectAlreadyExistsException ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of the ObjectAlreadyExistsException class.

Method Details

ObjectAlreadyExistsException() public method

Create a ObjectAlreadyExistsException and auto-generate a message using the name/group from the given IJobDetail.

The message will read:
"Unable to store Job with name: '__' and group: '__', because one already exists with this identification."

public ObjectAlreadyExistsException ( IJobDetail offendingJob ) : System
offendingJob IJobDetail
return System

ObjectAlreadyExistsException() public method

Create a ObjectAlreadyExistsException and auto-generate a message using the name/group from the given ITrigger.

The message will read:
"Unable to store Trigger with name: '__' and group: '__', because one already exists with this identification."

public ObjectAlreadyExistsException ( ITrigger offendingTrigger ) : System
offendingTrigger ITrigger
return System

ObjectAlreadyExistsException() protected method

Initializes a new instance of the ObjectAlreadyExistsException class.
The class name is null or is zero (0). The info parameter is null.
protected ObjectAlreadyExistsException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo The that holds the serialized object data about the exception being thrown.
context System.Runtime.Serialization.StreamingContext The that contains contextual information about the source or destination.
return System

ObjectAlreadyExistsException() public method

Create a ObjectAlreadyExistsException with the given message.

public ObjectAlreadyExistsException ( string msg ) : System
msg string
return System