try{
dirContext.modifyAttributes(objectDN,operation,attributes);
}catch(javax.naming.directory.InvalidAttributeValueException iave){
LogUtil.getLogger().severe(iave.getMessage());
FacesContextBroker contextBroker = new FacesContextBroker();
MessageBroker msgBroker = contextBroker.extractMessageBroker();
String errMsg = "javax.naming.directory.InvalidAttributeValueException";
if(msgBroker != null){
errMsg = msgBroker.getMessage("javax.naming.directory.InvalidAttributeValueException").getSummary();
}
throw new LdapException(errMsg);