throws ValidityException, IllegalStateException
{
// Object cannot be saved if one of the required fields is null
for ( int i = 0 ; i < _fields.length ; ++i ) {
if ( _fields[ i ].isRequired() && _fields[ i ].getHandler().getValue( object ) == null )
throw new ValidityException( "mapping.requiredField",
object.getClass().getName(), _fields[ i ].getFieldName() );
}
}