{
String dependency = value.getString();
if ( ! loaded.containsKey( dependency ) )
{
throw new LdapUnwillingToPerformException(
ResultCodeEnum.UNWILLING_TO_PERFORM, "Unwilling to perform operation on enabled schema with disabled or missing dependencies: "
+ dependency );
}
}
}
else
{
for ( Value<?> value:dependencies )
{
String dependency = value.getString();
if ( schemaManager.getLoadedSchema( StringTools.toLowerCase( dependency ) ) == null )
{
throw new LdapUnwillingToPerformException( ResultCodeEnum.UNWILLING_TO_PERFORM,
I18n.err( I18n.ERR_385, dependency ) );
}
}
}
}