Class ObjectAlreadyExistsException

All Implemented Interfaces:
Serializable

public class ObjectAlreadyExistsException extends JobPersistenceException
An exception that is thrown to indicate that an attempt to store a new object (i.e. JobDetail, Trigger or Calendar ) in a Scheduler failed, because one with the same name invalid input: '&' group already exists.
Author:
James House
See Also:
  • Constructor Details

    • ObjectAlreadyExistsException

      public ObjectAlreadyExistsException(JobDetail offendingJob)
      Create a ObjectAlreadyExistsException and auto-generate a message using the name/group from the given JobDetail.

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

    • ObjectAlreadyExistsException

      public ObjectAlreadyExistsException(Trigger offendingTrigger)
      Create a ObjectAlreadyExistsException and auto-generate a message using the name/group from the given Trigger.

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