|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.quartz.SchedulerException org.quartz.JobPersistenceException org.quartz.ObjectAlreadyExistsException
public class ObjectAlreadyExistsException
An exception that is thrown to indicate that an attempt to store a new
object (i.e.
,JobDetail
or Trigger
) in a Calendar
failed, because one with the same name & group already exists.
Scheduler
Constructor Summary | |
---|---|
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 . |
Method Summary |
---|
Methods inherited from class org.quartz.SchedulerException |
---|
getUnderlyingException, toString |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public 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."
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |