[bv-dev] Two improvements related to exceptions
gunnar at hibernate.org
Thu Feb 9 06:44:20 EST 2017
To take a break from the value extraction business, I've been working
on two small improvements related to the exception model:
* BVAL-559 : This adds a new subtype of ValidationException,
NoProviderFoundException. This allows integrators to distinguish
between the case where no BV provider is around at all and the case
where a provider is there but fails to bootstrap (e.g. due to
misconfiguration in validation.xml). The use case for this is better
support for JPA's validation-mode "auto".
* BVAL-264 : More useful exception message if a
ConstraintViolationException has been constructed from a set of
The API and spec changes can be found at  and , respectively.
Please speak up if you have any remarks. If nothing comes up, I'll
merge both PRs mid next week.
Thanks for any feedback,
More information about the beanvalidation-dev