public class ObjectAlreadyExistsException extends JobPersistenceException
JobDetail
,Trigger
or Calendar
) in a Scheduler
failed, because one with the same name & 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(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, toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public ObjectAlreadyExistsException(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 2001-2019, Terracotta, Inc.