try {
// Create the entry.
driver.getLDAPConnection().createEntry(dn, attributes);
} catch (NameAlreadyBoundException e) {
throw new ManagedObjectAlreadyExistsException();
} catch (OperationNotSupportedException e) {
// Unwilling to perform.
if (e.getMessage() == null) {
throw new OperationRejectedException(OperationType.CREATE, d
.getUserFriendlyName());