I'm building a service bus for Android and I'd like to distinguish between hard exceptions and those due to network issues. Broken connection, etc. I was originally catching IOException, but that's obviously far too broad. Some of those will be real file system issues local to the device.
Right now I have SocketException and ProtocolException, although the latter may not qualify. Anything else you might expect in the normal course of mobile events?
Source: http://stackoverflow.com/questions/12256549/common-network-communications-exceptions
London 2012 basketball London 2012 Slalom Canoe Alex Morgan Misty May Treanor Lolo Jones chicago bears Aly Raisman
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.