try {
for (IConfigurationElement e : config) {
final Object object = e.createExecutableExtension("class");
if (object instanceof ITemplateProvider) {
ITemplateProvider provider = (ITemplateProvider) object;
providers.add(provider);
}
}
} catch (Exception e) {
Logger.logException(e);