Skip to content

Commit cfcee63

Browse files
lynuspatrickstuedi
authored andcommitted
fix RdmaEndpoint IOException messages
1 parent aa27636 commit cfcee63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/ibm/disni/RdmaEndpoint.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public synchronized void connect(SocketAddress dst, int timeout) throws Exceptio
118118
wait();
119119
}
120120
if (connState != CONN_STATE_RESOURCES_ALLOCATED){
121-
throw new IOException("resolve route failed");
121+
throw new IOException("resources allocation failed");
122122
}
123123

124124
RdmaConnParam connParam = getConnParam();
@@ -178,7 +178,7 @@ synchronized void accept() throws Exception {
178178
wait();
179179
}
180180
if (connState != CONN_STATE_RESOURCES_ALLOCATED){
181-
throw new IOException("resolve route failed");
181+
throw new IOException("resources allocation failed");
182182
}
183183

184184
RdmaConnParam connParam = getConnParam();

0 commit comments

Comments
 (0)