Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
It would be good to be able to define a severity either on the validator itself or within the validation model. That would allow to later on differentiate the handling on how to treat those violations.
Depending on the violation severity one could decide to either throw an exception or just expose the violation failure message for informational purposes.
Attachments
Issue Links
- is related to
-
SLING-6531 Do not always throw exceptions to propagate information about failed validations
- Closed
-
SLING-6610 DefaultValidationFailure and DefaultValidationResult should use ValidationContext as parameter
- Closed