[hibernate-dev] Re: [BV] Another border case
Emmanuel Bernard
emmanuel at hibernate.org
Mon Jun 22 04:35:06 EDT 2009
I've added
@throws IllegalArgumentException ... or if null is passed to the
varargs groups
On Jun 19, 2009, at 12:18, Hardy Ferentschik wrote:
> hi,
>
> I have a question regarding another border case and the different
> validate methods in Validator.
> The javadocs for the vararg groups parameter says:
>
> * @param groups groups targeted for validation
> * (default to {@link javax.validation.groups.Default})
>
> What if null is passed? I would think a IllegalArgumentException
> should be raised. Or should the default
> group be assumed?
>
> --Hardy
More information about the hibernate-dev
mailing list