|
|
|
@ -410,7 +410,7 @@ public class ScheduledAnnotationBeanPostProcessor |
|
|
|
} |
|
|
|
} |
|
|
|
catch (RuntimeException ex) { |
|
|
|
catch (RuntimeException ex) { |
|
|
|
throw new IllegalArgumentException( |
|
|
|
throw new IllegalArgumentException( |
|
|
|
"Invalid initialDelayString value \"" + initialDelayString + "\" - cannot parse into long"); |
|
|
|
"Invalid initialDelayString value \"" + initialDelayString + "\"; " + ex); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
@ -462,7 +462,7 @@ public class ScheduledAnnotationBeanPostProcessor |
|
|
|
} |
|
|
|
} |
|
|
|
catch (RuntimeException ex) { |
|
|
|
catch (RuntimeException ex) { |
|
|
|
throw new IllegalArgumentException( |
|
|
|
throw new IllegalArgumentException( |
|
|
|
"Invalid fixedDelayString value \"" + fixedDelayString + "\" - cannot parse into long"); |
|
|
|
"Invalid fixedDelayString value \"" + fixedDelayString + "\"; " + ex); |
|
|
|
} |
|
|
|
} |
|
|
|
tasks.add(this.registrar.scheduleFixedDelayTask(new FixedDelayTask(runnable, fixedDelay, delayToUse))); |
|
|
|
tasks.add(this.registrar.scheduleFixedDelayTask(new FixedDelayTask(runnable, fixedDelay, delayToUse))); |
|
|
|
} |
|
|
|
} |
|
|
|
@ -488,7 +488,7 @@ public class ScheduledAnnotationBeanPostProcessor |
|
|
|
} |
|
|
|
} |
|
|
|
catch (RuntimeException ex) { |
|
|
|
catch (RuntimeException ex) { |
|
|
|
throw new IllegalArgumentException( |
|
|
|
throw new IllegalArgumentException( |
|
|
|
"Invalid fixedRateString value \"" + fixedRateString + "\" - cannot parse into long"); |
|
|
|
"Invalid fixedRateString value \"" + fixedRateString + "\"; " + ex); |
|
|
|
} |
|
|
|
} |
|
|
|
tasks.add(this.registrar.scheduleFixedRateTask(new FixedRateTask(runnable, fixedRate, delayToUse))); |
|
|
|
tasks.add(this.registrar.scheduleFixedRateTask(new FixedRateTask(runnable, fixedRate, delayToUse))); |
|
|
|
} |
|
|
|
} |
|
|
|
|