I met an exception when connecting, if connect timeout sfs print those message:
Code: Select all
10625 [New I/O client boss #1] ERROR sfs2x.client.core.sockets.TCPSocketLayer - TCPSocketLayer: Socket error: connection timed out
10625 [New I/O client boss #1] INFO sfs2x.client.core.EventDispatcher - Dispatching event OnError to 1 listeners
10625 [New I/O client boss #1] INFO sfs2x.client.core.EventDispatcher - Dispatching event ioError to 1 listeners
2011-11-19 17:58:23 org.jboss.netty.channel.SimpleChannelUpstreamHandler
warn: EXCEPTION, please implement sfs2x.client.bitswarm.bbox.BBClient$HttpResponseHandler.exceptionCaught() for proper handling.
can I catch the IOException and handle by myself?
thanks