schemaManager.loadAllEnabled();
if( ! schemaManager.getErrors().isEmpty() )
{
String msg = "there are errors while loading the schema";
LOG.error( msg + " {}", schemaManager.getErrors() );
throw new LdapException( msg );
}
}
catch( LdapException le )
{
throw le;
}
catch( Exception e )
{
LOG.error( "failed to load the schema", e );
throw new LdapException( e );
}
}