Author: dgeraskov
Date: 2010-11-17 05:48:13 -0500 (Wed, 17 Nov 2010)
New Revision: 26663
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/ExporterDefinition.java
Log:
https://jira.jboss.org/browse/JBIDE-7623
Space added to the message
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties
===================================================================
---
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties 2010-11-17
10:07:01 UTC (rev 26662)
+++
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties 2010-11-17
10:48:13 UTC (rev 26663)
@@ -77,7 +77,7 @@
OpenSourceAction_source_file_for_class_not_found=Source file for class
''{0}'' not found.
RefreshAction_refresh=Refresh
-ExporterDefinition_problem_creating_exporter_class=Problem while creating exporter class
+ExporterDefinition_problem_creating_exporter_class=Problem while creating exporter class
{0}
ExporterFactory_output_dir_in_does_not_exist=Output directory ''{0}'' in
{1} does not exist.
ExporterFactory_template_dir_in_does_not_exist=Template directory ''{0}''
in {1} does not exist.
ExporterProperty_generate_ejb3_annotations=Generate EJB3 annotations
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/ExporterDefinition.java
===================================================================
---
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/ExporterDefinition.java 2010-11-17
10:07:01 UTC (rev 26662)
+++
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/ExporterDefinition.java 2010-11-17
10:48:13 UTC (rev 26663)
@@ -47,6 +47,7 @@
import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.debug.core.ILaunchConfiguration;
import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.osgi.util.NLS;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.hibernate.console.HibernateConsoleRuntimeException;
import org.hibernate.eclipse.console.HibernateConsoleMessages;
@@ -123,12 +124,15 @@
exporter = (Exporter) ReflectHelper.classForName( classname ).newInstance();
}
catch (InstantiationException e) {
- throw new
HibernateConsoleRuntimeException(HibernateConsoleMessages.ExporterDefinition_problem_creating_exporter_class
+ classname);
+ throw new HibernateConsoleRuntimeException(NLS.bind(
+ HibernateConsoleMessages.ExporterDefinition_problem_creating_exporter_class,
classname));
}
catch (IllegalAccessException e) {
- throw new
HibernateConsoleRuntimeException(HibernateConsoleMessages.ExporterDefinition_problem_creating_exporter_class
+ classname); }
+ throw new HibernateConsoleRuntimeException(NLS.bind(
+ HibernateConsoleMessages.ExporterDefinition_problem_creating_exporter_class,
classname)); }
catch (ClassNotFoundException e) {
- throw new
HibernateConsoleRuntimeException(HibernateConsoleMessages.ExporterDefinition_problem_creating_exporter_class
+ classname);
+ throw new HibernateConsoleRuntimeException(NLS.bind(
+ HibernateConsoleMessages.ExporterDefinition_problem_creating_exporter_class,
classname));
}
return exporter;