1 2 18 19 22 package org.quartz; 23 24 34 public class ObjectAlreadyExistsException extends JobPersistenceException { 35 36 43 44 50 public ObjectAlreadyExistsException(String msg) { 51 super(msg); 52 } 53 54 65 public ObjectAlreadyExistsException(JobDetail offendingJob) { 66 super("Unable to store Job with name: '" + offendingJob.getName() 67 + "' and group: '" + offendingJob.getGroup() 68 + "', because one already exists with this identification."); 69 } 70 71 82 public ObjectAlreadyExistsException(Trigger offendingTrigger) { 83 super("Unable to store Trigger with name: '" 84 + offendingTrigger.getName() + "' and group: '" 85 + offendingTrigger.getGroup() 86 + "', because one already exists with this identification."); 87 } 88 89 } 90 | Popular Tags |