You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2001/11/06 17:33:06 UTC
cvs commit: xml-axis/java/src/org/apache/axis/deployment/v2dd V2DDService.java DeploymentDescriptor.java
butek 01/11/06 08:33:06
Modified: java/src/org/apache/axis/deployment/v2dd V2DDService.java
DeploymentDescriptor.java
Log:
Internationalized org.apache.axis.deployment.v2dd package.
Revision Changes Path
1.7 +3 -1 xml-axis/java/src/org/apache/axis/deployment/v2dd/V2DDService.java
Index: V2DDService.java
===================================================================
RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/deployment/v2dd/V2DDService.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- V2DDService.java 2001/10/30 16:46:35 1.6
+++ V2DDService.java 2001/11/06 16:33:06 1.7
@@ -54,6 +54,8 @@
*/
package org.apache.axis.deployment.v2dd;
+import org.apache.axis.utils.JavaUtils;
+
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
@@ -75,7 +77,7 @@
NodeList nl = element.getElementsByTagNameNS(V2DDConstants.V2DD_NS, "provider");
Element e = (Element)nl.item(0);
if (e == null)
- throw new V2DDException("The required provider element is missing");
+ throw new V2DDException(JavaUtils.getMessage("noProviderElem00"));
V2DDProvider provider = (V2DDProvider)getChild(e);
if (provider == null) {
String type = null;
1.10 +5 -2 xml-axis/java/src/org/apache/axis/deployment/v2dd/DeploymentDescriptor.java
Index: DeploymentDescriptor.java
===================================================================
RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/deployment/v2dd/DeploymentDescriptor.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- DeploymentDescriptor.java 2001/10/31 23:50:20 1.9
+++ DeploymentDescriptor.java 2001/11/06 16:33:06 1.10
@@ -58,6 +58,7 @@
import org.apache.axis.deployment.DeploymentException;
import org.apache.axis.deployment.DeploymentRegistry;
import org.apache.axis.deployment.DeployableItem;
+import org.apache.axis.utils.JavaUtils;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
@@ -106,13 +107,15 @@
*/
public void deploy(DeploymentRegistry registry) throws DeploymentException {
if (service == null) {
- throw new DeploymentException("No Service has been defined");
+ throw new DeploymentException(
+ JavaUtils.getMessage("noService01"));
}
V2DDDeployableItem item = new V2DDDeployableItem(service);
registry.deployItem(item);
}
public void importItem(DeployableItem item) throws DeploymentException {
- throw new DeploymentException("ImportItem not implemented!");
+ throw new DeploymentException(
+ JavaUtils.getMessage("notImplemented00", "importItem"));
}
}