Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2010-09-09 22:10:41 +0000
committerslewis2010-09-09 22:10:41 +0000
commit47f558309662202302466a914f52e07437c9b5c0 (patch)
treee3dda6ca2ace4f3315b4a6931937b863dfe6aa44 /providers
parent182e1bedffc3c2a841293c1a35cc767ad7f9c20d (diff)
downloadorg.eclipse.ecf-47f558309662202302466a914f52e07437c9b5c0.tar.gz
org.eclipse.ecf-47f558309662202302466a914f52e07437c9b5c0.tar.xz
org.eclipse.ecf-47f558309662202302466a914f52e07437c9b5c0.zip
Removed NLS references.
Diffstat (limited to 'providers')
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.remoteservice/META-INF/MANIFEST.MF1
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/internal/provider/remoteservice/Messages.java50
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/internal/provider/remoteservice/messages.properties21
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RegistrySharedObject.java52
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RemoteFilterImpl.java3
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RemoteServiceRegistrationImpl.java3
6 files changed, 27 insertions, 103 deletions
diff --git a/providers/bundles/org.eclipse.ecf.provider.remoteservice/META-INF/MANIFEST.MF b/providers/bundles/org.eclipse.ecf.provider.remoteservice/META-INF/MANIFEST.MF
index fe5a8c293..3d9599e71 100644
--- a/providers/bundles/org.eclipse.ecf.provider.remoteservice/META-INF/MANIFEST.MF
+++ b/providers/bundles/org.eclipse.ecf.provider.remoteservice/META-INF/MANIFEST.MF
@@ -22,7 +22,6 @@ Require-Bundle: org.eclipse.equinox.common,
Import-Package: org.eclipse.core.runtime.jobs,
org.eclipse.equinox.concurrent.future,
org.eclipse.osgi.framework.eventmgr,
- org.eclipse.osgi.util,
org.osgi.framework,
org.osgi.service.log,
org.osgi.util.tracker
diff --git a/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/internal/provider/remoteservice/Messages.java b/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/internal/provider/remoteservice/Messages.java
deleted file mode 100644
index e7913d8aa..000000000
--- a/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/internal/provider/remoteservice/Messages.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/****************************************************************************
- * Copyright (c) 2007 Composent, Inc. and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Composent, Inc. - initial API and implementation
- *****************************************************************************/
-
-package org.eclipse.ecf.internal.provider.remoteservice;
-
-import org.eclipse.osgi.util.NLS;
-
-/**
- *
- */
-public class Messages extends NLS {
- private static final String BUNDLE_NAME = "org.eclipse.ecf.internal.provider.remoteservice.messages"; //$NON-NLS-1$
- public static String RegistrySharedObject_15;
- public static String RegistrySharedObject_19;
- public static String RegistrySharedObject_7;
- public static String RegistrySharedObject_EXCEPTION_IN_REMOTE_CALL;
- public static String RemoteFilter_EXCEPTION_FILTER_NOT_NULL;
- public static String RemoteServiceImpl_EXCEPTION_CREATING_PROXY;
- public static String RegistrySharedObject_EXCEPTION_INVALID_RESPONSE;
- public static String RemoteServiceRegistrationImpl_EXCEPTION_SERVICE_ALREADY_REGISTERED;
- public static String RegistrySharedObject_EXCEPTION_REQUEST_NOT_FOUND;
- public static String RegistrySharedObject_EXCEPTION_SENDING_ADD_SERVICE;
- public static String RegistrySharedObject_EXCEPTION_SENDING_CALL_REQUEST;
- public static String RegistrySharedObject_EXCEPTION_SENDING_FIRE_REQUEST;
- public static String RegistrySharedObject_EXCEPTION_SENDING_REMOTE_REQUEST;
- public static String RegistrySharedObject_EXCEPTION_SENDING_REQUEST;
- public static String RegistrySharedObject_EXCEPTION_SENDING_RESPONSE;
- public static String RegistrySharedObject_EXCEPTION_SENDING_SERVICE_UNREGISTER;
- public static String RegistrySharedObject_EXCEPTION_SERVICE_CANNOT_BE_NULL;
- public static String RegistrySharedObject_EXCEPTION_SERVICE_CLASSES_LIST_EMPTY;
- public static String RegistrySharedObject_EXCEPTION_SHARED_OBJECT_INVOKE;
- public static String RegistrySharedObject_EXCEPTION_TIMEOUT_FOR_CALL_REQUEST;
- public static String RegistrySharedObject_EXCEPTION_WAIT_INTERRUPTED;
- static {
- // initialize resource bundle
- NLS.initializeMessages(BUNDLE_NAME, Messages.class);
- }
-
- private Messages() {
- //
- }
-}
diff --git a/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/internal/provider/remoteservice/messages.properties b/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/internal/provider/remoteservice/messages.properties
deleted file mode 100644
index 0ff10b356..000000000
--- a/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/internal/provider/remoteservice/messages.properties
+++ /dev/null
@@ -1,21 +0,0 @@
-RegistrySharedObject_15=callSynch.request/response DONE:
-RegistrySharedObject_19=Request timed out after {0} ms
-RegistrySharedObject_7=Service is not valid:
-RegistrySharedObject_EXCEPTION_IN_REMOTE_CALL=Exception in remote call
-RemoteFilter_EXCEPTION_FILTER_NOT_NULL=Filter cannot be null
-RemoteServiceImpl_EXCEPTION_CREATING_PROXY=Exception creating proxy for remote service
-RegistrySharedObject_EXCEPTION_INVALID_RESPONSE=Response to request is null
-RemoteServiceRegistrationImpl_EXCEPTION_SERVICE_ALREADY_REGISTERED=Service already registered
-RegistrySharedObject_EXCEPTION_REQUEST_NOT_FOUND=request not found for received response
-RegistrySharedObject_EXCEPTION_SENDING_ADD_SERVICE=exception sending add service registration message
-RegistrySharedObject_EXCEPTION_SENDING_CALL_REQUEST=exception sending call request message
-RegistrySharedObject_EXCEPTION_SENDING_FIRE_REQUEST=exception sending fire request message
-RegistrySharedObject_EXCEPTION_SENDING_REMOTE_REQUEST=IOException sending remote request
-RegistrySharedObject_EXCEPTION_SENDING_REQUEST=Exception sending request
-RegistrySharedObject_EXCEPTION_SENDING_RESPONSE=Exception sending response
-RegistrySharedObject_EXCEPTION_SENDING_SERVICE_UNREGISTER=exception sending service unregister message
-RegistrySharedObject_EXCEPTION_SERVICE_CANNOT_BE_NULL=service cannot be null
-RegistrySharedObject_EXCEPTION_SERVICE_CLASSES_LIST_EMPTY=service classes list is empty
-RegistrySharedObject_EXCEPTION_SHARED_OBJECT_INVOKE=Exception invoking shared object msg={0}
-RegistrySharedObject_EXCEPTION_TIMEOUT_FOR_CALL_REQUEST=timeout for call request
-RegistrySharedObject_EXCEPTION_WAIT_INTERRUPTED=Wait for response interrupted
diff --git a/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RegistrySharedObject.java b/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RegistrySharedObject.java
index 87294b9df..81623ba1b 100644
--- a/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RegistrySharedObject.java
+++ b/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RegistrySharedObject.java
@@ -24,13 +24,13 @@ import org.eclipse.ecf.core.sharedobject.*;
import org.eclipse.ecf.core.sharedobject.events.ISharedObjectActivatedEvent;
import org.eclipse.ecf.core.status.SerializableStatus;
import org.eclipse.ecf.core.util.*;
-import org.eclipse.ecf.internal.provider.remoteservice.*;
+import org.eclipse.ecf.internal.provider.remoteservice.Activator;
+import org.eclipse.ecf.internal.provider.remoteservice.IRemoteServiceProviderDebugOptions;
import org.eclipse.ecf.remoteservice.*;
import org.eclipse.ecf.remoteservice.Constants;
import org.eclipse.ecf.remoteservice.events.*;
import org.eclipse.equinox.concurrent.future.*;
import org.eclipse.osgi.framework.eventmgr.*;
-import org.eclipse.osgi.util.NLS;
import org.osgi.framework.*;
public class RegistrySharedObject extends BaseSharedObject implements IRemoteServiceContainerAdapter {
@@ -318,12 +318,12 @@ public class RegistrySharedObject extends BaseSharedObject implements IRemoteSer
public IRemoteServiceRegistration registerRemoteService(String[] clazzes, Object service, Dictionary properties) {
Trace.entering(Activator.PLUGIN_ID, IRemoteServiceProviderDebugOptions.METHODS_ENTERING, this.getClass(), "registerRemoteService", new Object[] {clazzes, service, properties}); //$NON-NLS-1$
if (service == null) {
- throw new NullPointerException(Messages.RegistrySharedObject_EXCEPTION_SERVICE_CANNOT_BE_NULL);
+ throw new NullPointerException("service cannot be null"); //$NON-NLS-1$
}
final int size = clazzes.length;
if (size == 0) {
- throw new IllegalArgumentException(Messages.RegistrySharedObject_EXCEPTION_SERVICE_CLASSES_LIST_EMPTY);
+ throw new IllegalArgumentException("service classes list is empty"); //$NON-NLS-1$
}
final String[] copy = new String[clazzes.length];
@@ -334,7 +334,7 @@ public class RegistrySharedObject extends BaseSharedObject implements IRemoteSer
final String invalidService = checkServiceClass(clazzes, service);
if (invalidService != null) {
- throw new IllegalArgumentException(Messages.RegistrySharedObject_7 + invalidService);
+ throw new IllegalArgumentException("Service=" + invalidService + " is invalid"); //$NON-NLS-1$ //$NON-NLS-2$
}
final RemoteServiceRegistrationImpl reg = new RemoteServiceRegistrationImpl();
@@ -615,11 +615,11 @@ public class RegistrySharedObject extends BaseSharedObject implements IRemoteSer
while ((timeout - System.currentTimeMillis()) > 0 && !doneWaiting) {
synchronized (request) {
if (request.isDone()) {
- Trace.trace(Activator.PLUGIN_ID, Messages.RegistrySharedObject_15 + requestId);
+ Trace.trace(Activator.PLUGIN_ID, "callSynch.request/response done for requestId=" + requestId); //$NON-NLS-1$
doneWaiting = true;
response = request.getResponse();
if (response == null)
- throw new ECFException(Messages.RegistrySharedObject_EXCEPTION_INVALID_RESPONSE);
+ throw new ECFException("Invalid response for requestId=" + requestId); //$NON-NLS-1$
} else {
Trace.trace(Activator.PLUGIN_ID, "Waiting " + RESPONSE_WAIT_INTERVAL + " for response to request: " + requestId); //$NON-NLS-1$ //$NON-NLS-2$
request.wait(RESPONSE_WAIT_INTERVAL);
@@ -627,18 +627,18 @@ public class RegistrySharedObject extends BaseSharedObject implements IRemoteSer
}
}
if (!doneWaiting)
- throw new ECFException(NLS.bind(Messages.RegistrySharedObject_19, Long.toString(call.getTimeout())), new TimeoutException(call.getTimeout()));
+ throw new ECFException("Request timed out after " + Long.toString(call.getTimeout()) + "ms", new TimeoutException(call.getTimeout())); //$NON-NLS-1$ //$NON-NLS-2$
} catch (final IOException e) {
log(CALL_REQUEST_ERROR_CODE, CALL_REQUEST_ERROR_MESSAGE, e);
- throw new ECFException(Messages.RegistrySharedObject_EXCEPTION_SENDING_REQUEST, e);
+ throw new ECFException("Error sending request", e); //$NON-NLS-1$
} catch (final InterruptedException e) {
log(CALL_REQUEST_TIMEOUT_ERROR_CODE, CALL_REQUEST_TIMEOUT_ERROR_MESSAGE, e);
- throw new ECFException(Messages.RegistrySharedObject_EXCEPTION_WAIT_INTERRUPTED, e);
+ throw new ECFException("Wait for response interrupted", e); //$NON-NLS-1$
}
// Success...now get values and return
Object result = null;
if (response.hadException())
- throw new ECFException(Messages.RegistrySharedObject_EXCEPTION_IN_REMOTE_CALL, response.getException());
+ throw new ECFException("Exception in remote call", response.getException()); //$NON-NLS-1$
result = response.getResponse();
Trace.exiting(Activator.PLUGIN_ID, IRemoteServiceProviderDebugOptions.METHODS_EXITING, this.getClass(), "callSynch", result); //$NON-NLS-1$
@@ -744,39 +744,37 @@ public class RegistrySharedObject extends BaseSharedObject implements IRemoteSer
*/
private static final String FIRE_REQUEST = "handleFireRequest"; //$NON-NLS-1$
- private static final String FIRE_REQUEST_ERROR_MESSAGE = Messages.RegistrySharedObject_EXCEPTION_SENDING_FIRE_REQUEST;
+ private static final String FIRE_REQUEST_ERROR_MESSAGE = "exception sending fire request message"; //$NON-NLS-1$
private static final int FIRE_REQUEST_ERROR_CODE = 202;
private static final String CALL_REQUEST = "handleCallRequest"; //$NON-NLS-1$
- private static final String CALL_REQUEST_ERROR_MESSAGE = Messages.RegistrySharedObject_EXCEPTION_SENDING_CALL_REQUEST;
+ private static final String CALL_REQUEST_ERROR_MESSAGE = "exception sending call request message"; //$NON-NLS-1$
private static final int CALL_REQUEST_ERROR_CODE = 203;
- private static final String CALL_REQUEST_TIMEOUT_ERROR_MESSAGE = Messages.RegistrySharedObject_EXCEPTION_TIMEOUT_FOR_CALL_REQUEST;
+ private static final String CALL_REQUEST_TIMEOUT_ERROR_MESSAGE = "timeout for remote call"; //$NON-NLS-1$
private static final int CALL_REQUEST_TIMEOUT_ERROR_CODE = 204;
private static final String UNREGISTER = "handleUnregister"; //$NON-NLS-1$
- private static final String UNREGISTER_ERROR_MESSAGE = Messages.RegistrySharedObject_EXCEPTION_SENDING_SERVICE_UNREGISTER;
+ private static final String UNREGISTER_ERROR_MESSAGE = "exception sending service unregister message"; //$NON-NLS-1$
private static final int UNREGISTER_ERROR_CODE = 206;
- private static final String MSG_INVOKE_ERROR_MESSAGE = Messages.RegistrySharedObject_EXCEPTION_SHARED_OBJECT_INVOKE;
-
private static final int MSG_INVOKE_ERROR_CODE = 207;
private static final int SERVICE_INVOKE_ERROR_CODE = 208;
private static final String CALL_RESPONSE = "handleCallResponse"; //$NON-NLS-1$
- private static final String CALL_RESPONSE_ERROR_MESSAGE = Messages.RegistrySharedObject_EXCEPTION_SENDING_RESPONSE;
+ private static final String CALL_RESPONSE_ERROR_MESSAGE = "Exception sending response"; //$NON-NLS-1$
private static final int CALL_RESPONSE_ERROR_CODE = 210;
- private static final String REQUEST_NOT_FOUND_ERROR_MESSAGE = Messages.RegistrySharedObject_EXCEPTION_REQUEST_NOT_FOUND;
+ private static final String REQUEST_NOT_FOUND_ERROR_MESSAGE = "request not found for response"; //$NON-NLS-1$
private static final int REQUEST_NOT_FOUND_ERROR_CODE = 211;
@@ -786,7 +784,7 @@ public class RegistrySharedObject extends BaseSharedObject implements IRemoteSer
private static final String ADD_REGISTRATIONS = "handleAddRegistrations"; //$NON-NLS-1$
- private static final String ADD_REGISTRATION_ERROR_MESSAGE = Messages.RegistrySharedObject_EXCEPTION_SENDING_ADD_SERVICE;
+ private static final String ADD_REGISTRATION_ERROR_MESSAGE = "exception sending add service registration message"; //$NON-NLS-1$
private static final int ADD_REGISTRATION_ERROR_CODE = 212;
@@ -1133,14 +1131,14 @@ public class RegistrySharedObject extends BaseSharedObject implements IRemoteSer
} catch (InvocationTargetException e) {
Throwable cause = e.getCause();
response = new Response(request.getRequestId(), getSerializableException(cause));
- logRemoteCallException(NLS.bind("Invocation target exception invoking remote service. Remote request={0}", request), cause); //$NON-NLS-1$
+ logRemoteCallException("Invocation target exception invoking remote service. Remote request=" + request, cause); //$NON-NLS-1$
// This is to catch most other problems
} catch (Exception e) {
response = new Response(request.getRequestId(), getSerializableException(e));
- logRemoteCallException(NLS.bind("Unexpected exception invoking remote service. Remote request={0}", request), e); //$NON-NLS-1$
+ logRemoteCallException("Unexpected exception invoking remote service. Remote request=" + request, e); //$NON-NLS-1$
} catch (NoClassDefFoundError e) {
response = new Response(request.getRequestId(), getSerializableException(e));
- logRemoteCallException(NLS.bind("No class def found error invoking remote service. Remote request={0}", request), e); //$NON-NLS-1$
+ logRemoteCallException("No class def found error invoking remote service. Remote request=" + request, e); //$NON-NLS-1$
}
// Now send response back to responseTarget (original requestor)
if (respond)
@@ -1176,7 +1174,7 @@ public class RegistrySharedObject extends BaseSharedObject implements IRemoteSer
final RemoteServiceRegistrationImpl localRegistration = getLocalRegistrationForRequest(request);
// If localRegistration not found for request, then it's a bogus request and we respond with NPE
if (localRegistration == null) {
- sendErrorResponse(responseTarget, request.getRequestId(), "handleCallRequest", new NullPointerException(NLS.bind("local service registration not found for remote request={0}", request))); //$NON-NLS-1$ //$NON-NLS-2$
+ sendErrorResponse(responseTarget, request.getRequestId(), "handleCallRequest", new NullPointerException("local service registration not found for remote request=" + request)); //$NON-NLS-1$ //$NON-NLS-2$
return;
}
@@ -1261,7 +1259,7 @@ public class RegistrySharedObject extends BaseSharedObject implements IRemoteSer
sendSharedObjectMsgTo(remoteRegistration.getContainerID(), SharedObjectMsg.createMsg(FIRE_REQUEST, request));
} catch (final IOException e) {
log(FIRE_REQUEST_ERROR_CODE, FIRE_REQUEST_ERROR_MESSAGE, e);
- throw new ECFException(Messages.RegistrySharedObject_EXCEPTION_SENDING_REMOTE_REQUEST, e);
+ throw new ECFException("IOException sending fire request", e); //$NON-NLS-1$
}
Trace.exiting(Activator.PLUGIN_ID, IRemoteServiceProviderDebugOptions.METHODS_EXITING, this.getClass(), "sendFireRequest", request); //$NON-NLS-1$
return request;
@@ -1286,7 +1284,7 @@ public class RegistrySharedObject extends BaseSharedObject implements IRemoteSer
final RemoteServiceRegistrationImpl localRegistration = getLocalRegistrationForRequest(request);
// If localRegistration not found for request, then it's a bogus request and we respond with NPE
if (localRegistration == null) {
- sendErrorResponse(responseTarget, request.getRequestId(), "handleFireRequest", new NullPointerException(NLS.bind("local service registration not found for remote request={0}", request))); //$NON-NLS-1$ //$NON-NLS-2$
+ sendErrorResponse(responseTarget, request.getRequestId(), "handleFireRequest", new NullPointerException("local service registration not found for remote request=" + request)); //$NON-NLS-1$ //$NON-NLS-2$
return;
}
@@ -1506,7 +1504,7 @@ public class RegistrySharedObject extends BaseSharedObject implements IRemoteSer
msg.invoke(this);
return true;
} catch (final Exception e) {
- logException(MSG_INVOKE_ERROR_CODE, NLS.bind(MSG_INVOKE_ERROR_MESSAGE, msg), e);
+ logException(MSG_INVOKE_ERROR_CODE, "Exception invoking shared object message=" + msg, e); //$NON-NLS-1$
}
return false;
}
diff --git a/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RemoteFilterImpl.java b/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RemoteFilterImpl.java
index f9323b817..ef4d3e53a 100644
--- a/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RemoteFilterImpl.java
+++ b/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RemoteFilterImpl.java
@@ -13,7 +13,6 @@ package org.eclipse.ecf.provider.remoteservice.generic;
import java.util.Dictionary;
import org.eclipse.ecf.internal.provider.remoteservice.Activator;
-import org.eclipse.ecf.internal.provider.remoteservice.Messages;
import org.eclipse.ecf.remoteservice.IRemoteFilter;
import org.eclipse.ecf.remoteservice.IRemoteServiceReference;
import org.osgi.framework.*;
@@ -30,7 +29,7 @@ public class RemoteFilterImpl implements IRemoteFilter {
*/
public RemoteFilterImpl(String createFilter) throws InvalidSyntaxException {
if (createFilter == null)
- throw new InvalidSyntaxException(Messages.RemoteFilter_EXCEPTION_FILTER_NOT_NULL, createFilter);
+ throw new InvalidSyntaxException("Filter cannot be null", null); //$NON-NLS-1$
this.filter = Activator.getDefault().createFilter(createFilter);
}
diff --git a/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RemoteServiceRegistrationImpl.java b/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RemoteServiceRegistrationImpl.java
index eeec4a59c..dbb4137b8 100644
--- a/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RemoteServiceRegistrationImpl.java
+++ b/providers/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RemoteServiceRegistrationImpl.java
@@ -12,7 +12,6 @@ import java.io.Serializable;
import java.lang.reflect.Array;
import java.util.*;
import org.eclipse.ecf.core.identity.ID;
-import org.eclipse.ecf.internal.provider.remoteservice.Messages;
import org.eclipse.ecf.remoteservice.*;
/**
@@ -110,7 +109,7 @@ public class RemoteServiceRegistrationImpl implements IRemoteServiceRegistration
synchronized (registrationLock) {
/* in the process of unregistering */
if (state != REGISTERED) {
- throw new IllegalStateException(Messages.RemoteServiceRegistrationImpl_EXCEPTION_SERVICE_ALREADY_REGISTERED);
+ throw new IllegalStateException("Service already registered"); //$NON-NLS-1$
}
this.properties = createProperties(properties);
}

Back to the top