1 2 18 19 22 package org.quartz; 23 24 44 public class JobExecutionException extends SchedulerException { 45 46 53 54 private boolean refire = false; 55 56 private boolean unscheduleTrigg = false; 57 58 private boolean unscheduleAllTriggs = false; 59 60 67 68 74 public JobExecutionException() { 75 } 76 77 82 public JobExecutionException(Throwable cause) { 83 super(cause); 84 } 85 86 91 public JobExecutionException(String msg) { 92 super(msg); 93 } 94 95 101 public JobExecutionException(boolean refireImmediately) { 102 refire = refireImmediately; 103 } 104 105 111 public JobExecutionException(Throwable cause, boolean refireImmediately) { 112 super(cause); 113 114 refire = refireImmediately; 115 } 116 117 123 public JobExecutionException(String msg, Throwable cause) { 124 super(msg, cause); 125 } 126 127 133 public JobExecutionException(String msg, Throwable cause, 134 boolean refireImmediately) { 135 super(msg, cause); 136 137 refire = refireImmediately; 138 } 139 140 144 public JobExecutionException(String msg, boolean refireImmediately) { 145 super(msg); 146 147 refire = refireImmediately; 148 } 149 150 157 158 public boolean refireImmediately() { 159 return refire; 160 } 161 162 public void setUnscheduleFiringTrigger(boolean unscheduleTrigg) { 163 this.unscheduleTrigg = unscheduleTrigg; 164 } 165 166 public boolean unscheduleFiringTrigger() { 167 return unscheduleTrigg; 168 } 169 170 public void setUnscheduleAllTriggers(boolean unscheduleAllTriggs) { 171 this.unscheduleAllTriggs = unscheduleAllTriggs; 172 } 173 174 public boolean unscheduleAllTriggers() { 175 return unscheduleAllTriggs; 176 } 177 178 } 179 | Popular Tags |