belaban/JGroups — pull request #107 by nekop (2013-10-17 00:59:38+00:00)
Title: The FD_SOCK.handleSocketClose() debug log doesn't print the exception me...

...ssage part:

> peer node1 closed socket (java.net.SocketException)

It would be better to use toString() instead of class name so we can see why it's disconnected:

> peer node1 closed socket (java.net.SocketException: Connection reset by peer)
> peer node1 closed socket (java.net.SocketException: Read timeout)
> peer node1 closed socket (java.net.SocketException: No route to host)
> peer node1 closed socket (java.net.SocketException: Unexpected end of file from server)