try {
Class<?> pluginClass = Class.forName(pluginClassName, true, cl);
plugin = pluginClass.newInstance();
} catch (Exception ex) {
LogUtils.log(LOG, Level.SEVERE, "PLUGIN_LOAD_FAILURE_MSG", ex, pluginClassName);
throw new PluginException(new Message("LOAD_FAILED_EXC", LOG, pluginClassName), ex);
}
return plugin;
}