Re: Object graph validation

2011-09-19 Thread jeff mutonho
k at Apache BeanValidation[1] that is the > implementation of JSR303 BeanValidation. > HTH, > Simo > > [1] http://incubator.apache.org/bval/cwiki/index.html > > http://people.apache.org/~simonetripodi/ > http://www.99soft.org/ > > > > On Mon, Sep 19, 2011 at 12:23 PM, jef

Object graph validation

2011-09-19 Thread jeff mutonho
Is there utility in the commons library that one can use to do recursive object graph validation? I'm looking for something similar to the Oval project( http://oval.sourceforge.net/userguide.html#d4e841 ) I would like to be able to do something similar to what's specified in section 3.1 of the afor

Validate method with logging

2011-09-08 Thread jeff mutonho
Hi Is there an argument validate method in the lang package that one can override not to throw a NullPointerException (NPE) after validating a "null" argument, and rather log the NPE using org.apache.log4j.Logger? Thanks