Make PlaceholderResolutionException extend from IllegalArgumentException

To smooth upgrade from 6.1.x, this commit makes sure that code that used
to catch an IAE to ignore a faulty placeholder resolution still works.

See gh-9628
This commit is contained in:
Stéphane Nicoll
2024-03-02 08:28:38 +01:00
parent fdbefad59c
commit ac1a030c35

View File

@@ -31,7 +31,7 @@ import org.springframework.lang.Nullable;
* @since 6.2
*/
@SuppressWarnings("serial")
public class PlaceholderResolutionException extends RuntimeException {
public class PlaceholderResolutionException extends IllegalArgumentException {
private final String reason;