{
DN name = opContext.getDn();
if ( subschemSubentryDn.getNormName().equals( name.getNormName() ) )
{
throw new LdapEntryAlreadyExistsException( I18n.err( I18n.ERR_249 ) );
}
// check if the entry already exists
if ( nextInterceptor.hasEntry( new EntryOperationContext( opContext.getSession(), name ) ) )
{
LdapEntryAlreadyExistsException ne = new LdapEntryAlreadyExistsException( I18n.err( I18n.ERR_250, name.getName() ) );
//ne.setResolvedName( new DN( name.getName() ) );
throw ne;
}
DN suffix = nexus.getSuffix( new GetSuffixOperationContext( this.directoryService.getAdminSession(),