[hibernate-dev] [BV] Another border case

Hardy Ferentschik hibernate at ferentschik.de
Fri Jun 19 06:18:32 EDT 2009


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