Author: dgolovin
Date: 2008-06-10 08:15:16 -0400 (Tue, 10 Jun 2008)
New Revision: 8674
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeTemplateManager.java
Log:
message severity changed from warning to error. bundle ID added to error message
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeTemplateManager.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeTemplateManager.java 2008-06-10
11:21:08 UTC (rev 8673)
+++
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeTemplateManager.java 2008-06-10
12:15:16 UTC (rev 8674)
@@ -848,8 +848,8 @@
bundle = Platform.getBundle(confElement.getNamespaceIdentifier());
} else {
-
bundle = Platform.getBundle(nameSpaceIdentifyer);
+ System.out.println(nameSpaceIdentifyer);
}
Class templateClass = bundle.loadClass(templateClassName);
template = (VpeTemplate)templateClass.newInstance();
@@ -860,9 +860,9 @@
} catch (Exception e2) {
String message = e.getMessage();
if(message==null) {
- message = "Can't get VPE template class: " + templateClassName;
//$NON-NLS-1$
+ message = "Can't get VPE template class: " + templateClassName +
", from bundle:" + nameSpaceIdentifyer; //$NON-NLS-1$
}
- VpePlugin.getPluginLog().logWarning(message, e);
+ VpePlugin.getPluginLog().logError(message, e);
return null;
}
}
Show replies by date