Remove throwIfViolationsPresent and replace with static factory methods on MethodValidationException taking MethodValidationResult, which makes handling more explicit and allows choice of what exception to raise. Update MethodValidationResult to expose the target, the method, and forReturnValue flag, so the code handling an exception will have access to all details. See gh-30644 |
||
|---|---|---|
| .. | ||
| src | ||
| .springBeans | ||
| spring-context.gradle | ||