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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user