public class ObjectAlreadyExistsException extends JobPersistenceException
IJobDetail,ITrigger
or ICalendar) in a IScheduler
failed, because one with the same name & group already exists.| Constructor and Description |
|---|
ObjectAlreadyExistsException(IJobDetail offendingJob)
Create a
ObjectAlreadyExistsException and auto-generate a
message using the name/group from the given JobDetail. |
ObjectAlreadyExistsException(ITrigger offendingTrigger)
Create a
ObjectAlreadyExistsException and auto-generate a
message using the name/group from the given Trigger. |
ObjectAlreadyExistsException(String msg)
Create a
ObjectAlreadyExistsException with the given message. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ObjectAlreadyExistsException(String msg)
ObjectAlreadyExistsException with the given message.public ObjectAlreadyExistsException(IJobDetail 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."
public ObjectAlreadyExistsException(ITrigger 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."
Copyright © 2016–2021 Philip Helger. All rights reserved.