GeeCON Prague 2014*
The moose likes Sockets and Internet Protocols and the fly likes how to handle java.net.socketexception errors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "how to handle java.net.socketexception errors" Watch "how to handle java.net.socketexception errors" New topic
Author

how to handle java.net.socketexception errors

Adam McCrossan
Greenhorn

Joined: May 17, 2012
Posts: 1
Hi,

I'm a little new to sockets but have been using the java merapi bridge as a means of talking to my AIR application. Basically all the merapi bridge is a bunch of classes packaged in jar file and these classes work fine until I receive a rare socket error every once in a while. The problem is I have not been able to catch any of the socket errors and have no means of hadling them. Basically what I would like to do is if I get any sort of socket error, or as matter of fact any error at all, I want to perform a machine reboot. Can anyone please help me out with this one it's driving me crazy as these errors are so intermittent but extremely costly to my end user.

Thanks
Adam
 
GeeCON Prague 2014
 
subject: how to handle java.net.socketexception errors