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(Trigger offendingTrigger)
Create a
ObjectAlreadyExistsException and auto-generate a message using the name/group from the given Trigger. |
getUnderlyingException, toStringaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic 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 © 2011–2017 Knowm Inc.. All rights reserved.