Author: shawkins
Date: 2010-07-01 10:23:31 -0400 (Thu, 01 Jul 2010)
New Revision: 2326
Modified:
trunk/runtime/src/main/java/org/teiid/deployers/VDBDeployer.java
trunk/runtime/src/main/resources/org/teiid/runtime/i18n.properties
Log:
TEIID-1079 reusing message for translator not found.
Modified: trunk/runtime/src/main/java/org/teiid/deployers/VDBDeployer.java
===================================================================
--- trunk/runtime/src/main/java/org/teiid/deployers/VDBDeployer.java 2010-07-01 12:11:44
UTC (rev 2325)
+++ trunk/runtime/src/main/java/org/teiid/deployers/VDBDeployer.java 2010-07-01 14:23:31
UTC (rev 2326)
@@ -180,7 +180,7 @@
String name = model.getSourceTranslatorName(source);
Translator translator =
VDBDeployer.this.translatorRepository.getTranslatorMetaData(new
VDBKey(deployment.getName(), deployment.getVersion()), name);
if (translator == null) {
- throw new
DeploymentException(RuntimePlugin.Util.getString("translator_not_found", name));
//$NON-NLS-1$
+ throw new
DeploymentException(RuntimePlugin.Util.getString("translator_not_found",
deployment.getName(), deployment.getVersion(), name)); //$NON-NLS-1$
}
ExecutionFactory<Object, Object> ef = map.get(translator);
Modified: trunk/runtime/src/main/resources/org/teiid/runtime/i18n.properties
===================================================================
--- trunk/runtime/src/main/resources/org/teiid/runtime/i18n.properties 2010-07-01 12:11:44
UTC (rev 2325)
+++ trunk/runtime/src/main/resources/org/teiid/runtime/i18n.properties 2010-07-01 14:23:31
UTC (rev 2326)
@@ -306,4 +306,3 @@
required_property_not_exists=Required property "{0}" has no value. Deployment
is incomplete.
name_not_found=Translator property "name" not defined for the deployment
"{0}"
translator_type_not_found=The parent translator defined not found in configuration
"{0}"
-translator_not_found=Unknown translator "{0}"
Show replies by date