diff --git a/src/main/java/com/ibm/disni/RdmaEndpoint.java b/src/main/java/com/ibm/disni/RdmaEndpoint.java index 9a4114b0..4c2e61d9 100644 --- a/src/main/java/com/ibm/disni/RdmaEndpoint.java +++ b/src/main/java/com/ibm/disni/RdmaEndpoint.java @@ -118,7 +118,7 @@ public synchronized void connect(SocketAddress dst, int timeout) throws Exceptio wait(); } if (connState != CONN_STATE_RESOURCES_ALLOCATED){ - throw new IOException("resolve route failed"); + throw new IOException("resources allocation failed"); } RdmaConnParam connParam = getConnParam(); @@ -178,7 +178,7 @@ synchronized void accept() throws Exception { wait(); } if (connState != CONN_STATE_RESOURCES_ALLOCATED){ - throw new IOException("resolve route failed"); + throw new IOException("resources allocation failed"); } RdmaConnParam connParam = getConnParam();