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