Merge branch '6.1.x'
This commit is contained in:
@@ -410,7 +410,7 @@ public class ScheduledAnnotationBeanPostProcessor
|
||||
}
|
||||
catch (RuntimeException ex) {
|
||||
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) {
|
||||
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)));
|
||||
}
|
||||
@@ -488,7 +488,7 @@ public class ScheduledAnnotationBeanPostProcessor
|
||||
}
|
||||
catch (RuntimeException ex) {
|
||||
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)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user