Browse Source

Merge branch '6.1.x'

pull/32653/head
Simon Baslé 2 years ago
parent
commit
43b5c81dad
  1. 6
      spring-context/src/main/java/org/springframework/scheduling/annotation/ScheduledAnnotationBeanPostProcessor.java
  2. 2
      spring-tx/src/main/java/org/springframework/transaction/interceptor/DefaultTransactionAttribute.java

6
spring-context/src/main/java/org/springframework/scheduling/annotation/ScheduledAnnotationBeanPostProcessor.java

@ -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)));
} }

2
spring-tx/src/main/java/org/springframework/transaction/interceptor/DefaultTransactionAttribute.java

@ -206,7 +206,7 @@ public class DefaultTransactionAttribute extends DefaultTransactionDefinition im
} }
catch (RuntimeException ex) { catch (RuntimeException ex) {
throw new IllegalArgumentException( throw new IllegalArgumentException(
"Invalid timeoutString value \"" + timeoutString + "\" - cannot parse into int"); "Invalid timeoutString value \"" + timeoutString + "\"; " + ex);
} }
} }
} }

Loading…
Cancel
Save