if ( !isSchemaLoaded( oldSchemaName ) )
{
String msg = I18n.err( I18n.ERR_348, oldSchemaName );
LOG.warn( msg );
throw new LdapOperationNotSupportedException( msg, ResultCodeEnum.UNWILLING_TO_PERFORM );
}
if ( !isSchemaLoaded( newSchemaName ) )
{
String msg = I18n.err( I18n.ERR_349, newSchemaName );
LOG.warn( msg );
throw new LdapOperationNotSupportedException( msg, ResultCodeEnum.UNWILLING_TO_PERFORM );
}
deleteFromSchema( oldAt, oldSchemaName );
addToSchema( newAt, newSchemaName );