public class ObjectAlreadyExistsException extends JobPersistenceException
JobDetail,Trigger
or Calendar) in a Scheduler
failed, because one with the same name and group already exists.| Constructor and Description |
|---|
ObjectAlreadyExistsException(JobDetail offendingJob)
Create a
ObjectAlreadyExistsException and auto-generate a
message using the name/group from the given JobDetail. |
ObjectAlreadyExistsException(java.lang.String msg)
Create a
ObjectAlreadyExistsException with the given
message. |
ObjectAlreadyExistsException(Trigger offendingTrigger)
Create a
ObjectAlreadyExistsException and auto-generate a
message using the name/group from the given Trigger. |
getUnderlyingException, toStringpublic ObjectAlreadyExistsException(java.lang.String msg)
Create a ObjectAlreadyExistsException with the given
message.
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."
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."
Copyright IBM Corp. 2024, 2025