Package org.quartz.exceptions
Class ObjectAlreadyExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.quartz.exceptions.SchedulerException
org.quartz.exceptions.JobPersistenceException
org.quartz.exceptions.ObjectAlreadyExistsException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorDescriptionObjectAlreadyExistsException
(JobDetail offendingJob) Create aObjectAlreadyExistsException
and auto-generate a message using the name/group from the givenJobDetail
.ObjectAlreadyExistsException
(Trigger offendingTrigger) Create aObjectAlreadyExistsException
and auto-generate a message using the name/group from the givenTrigger
. -
Method Summary
Methods inherited from class org.quartz.exceptions.SchedulerException
getUnderlyingException, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ObjectAlreadyExistsException
Create aObjectAlreadyExistsException
and auto-generate a message using the name/group from the givenJobDetail
.The message will read:
"Unable to store Job with name: '__' and group: '__', because one already exists with this identification." -
ObjectAlreadyExistsException
Create aObjectAlreadyExistsException
and auto-generate a message using the name/group from the givenTrigger
.The message will read:
"Unable to store Trigger with name: '__' and group: '__', because one already exists with this identification."
-