Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2008-11-12 21:22:30 -0500
committerslewis2008-11-12 21:22:30 -0500
commitf93199c5876a44348cdb14ae9512c43af01d3c1b (patch)
treef6f3af8ce7d6bdbc052aa01afc39341adcb47338
parent910b83583e2daf315da2c9f8276211715d07a681 (diff)
downloadorg.eclipse.ecf-f93199c5876a44348cdb14ae9512c43af01d3c1b.tar.gz
org.eclipse.ecf-f93199c5876a44348cdb14ae9512c43af01d3c1b.tar.xz
org.eclipse.ecf-f93199c5876a44348cdb14ae9512c43af01d3c1b.zip
Added better failure message
-rw-r--r--framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/comm/tcp/Client.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/comm/tcp/Client.java b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/comm/tcp/Client.java
index 2064b8a27..2a2730850 100644
--- a/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/comm/tcp/Client.java
+++ b/framework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/comm/tcp/Client.java
@@ -173,7 +173,7 @@ public final class Client implements ISynchAsynchConnection {
send(new ConnectRequestMessage(anURI, (Serializable) data));
res = (ConnectResultMessage) readObject();
} catch (final Exception e) {
- throw new ECFException(e.getLocalizedMessage(), e);
+ throw new ECFException("Exception during connection to " + remote.getName(), e);
}
debug("connect;rcv:" + res); //$NON-NLS-1$
// Setup threads

Back to the top