[jax-rs-spec users] [jsr339-experts] Re: Re: Re-introducing Bean Validation support in JAX-RS 2.0

From: Sergey Beryozkin <>
Date: Wed, 21 Nov 2012 22:51:42 +0000

On 21/11/12 15:00, Marek Potociar wrote:
> I just re-introduced the classes we had. ValidationException and ValidationError. I'm however fine revisiting this.

I'd like to propose dropping ValidationException or at least consider it
extending InternalServerErrorException.

I prefer the former option - I'm not sure we should make it easy for the
list of validation errors exposing some the info about the resource
class/method available to the client - it is 400 or 401 as far as the
client is concerned given that some of the request properties have
failed the validation? Actually, if it were to stay - it should extend
one of ClientErrorExceptions ?


> Marek
> On Nov 21, 2012, at 3:13 PM, Bill Burke<> wrote:
>> Does the integration have specific APIs/classes? This is something I'd like to revisit if so. I'm not convinced we need any special APIs/classes for BV support.
>> On 11/21/2012 4:46 AM, Marek Potociar wrote:
>>> Experts,
>>> Last week we have received an approval from the Java EE spec leads and Java EE project management to align release of JAX-RS 2.0 with BV 1.1. As such, we plan to include the formerly dropped BV integration support in JAX-RS 2.0 again. I assume this change in plans is welcome by most of you. Still, please let me know if you have any concerns about the change in plans.
>>> Kind regards,
>>> Marek Potociar
>> --
>> Bill Burke
>> JBoss, a division of Red Hat