LOG.debug( "received a null entry for modification" );
throw new IllegalArgumentException( "Entry to be modified cannot be null" );
}
int newId = messageId.incrementAndGet();
ModifyRequest modifyRequest = new ModifyRequestImpl();
modifyRequest.setMessageId( newId );
modifyRequest.setName( entry.getDn() );
Iterator<Attribute> itr = entry.iterator();
while ( itr.hasNext() )
{
modifyRequest.addModification( new DefaultModification( modOp, itr.next() ) );
}
ModifyResponse modifyResponse = modify( modifyRequest );
processResponse( modifyResponse );