Skip to content

Commit

Permalink
fix RdmaEndpoint IOException messages
Browse files Browse the repository at this point in the history
  • Loading branch information
lynus authored and patrickstuedi committed Jan 21, 2019
1 parent aa27636 commit cfcee63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/ibm/disni/RdmaEndpoint.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit cfcee63

Please sign in to comment.