spring-framework/spring-context
Sam Brannen 0f31830ae2 Retain root cause for parsing patterns in @DateTimeFormat
The support for fallback parsing patterns in @DateTimeFormat introduced
in gh-20292 introduced a regression in that the original cause of the
parsing exception was no longer retained.

gh-26777 addressed that regression for `java.time` support; whereas,
this commit addresses that regression for legacy Date types.

This commit ensures that the original ParseException is set as the
cause for any newly created ParseException, thereby retaining the
original exception as the root cause.

Closes gh-26804
2021-04-16 19:14:41 +02:00
..
src Retain root cause for parsing patterns in @DateTimeFormat 2021-04-16 19:14:41 +02:00
.springBeans
spring-context.gradle Upgrade to BeanShell 2.0b6 2020-04-07 18:06:43 +02:00