java.net.SocketException
could be for number of reasons you have to be specifics.and take a look at this Q/A.http://stackoverflow.com/questions/2126607/official-reasons-for-software-caused-connection-abort-socket-write-error