开发者

How to catch IOException Error in eclispe for Android?

开发者 https://www.devze.com 2023-02-09 23:23 出处:网络
I want to catch anIOException Error and want to show it in the form of toast for androi开发者_StackOverflow社区d application development. But when ever i apply catch(IOexception e), after try block it

I want to catch an IOException Error and want to show it in the form of toast for androi开发者_StackOverflow社区d application development. But when ever i apply catch(IOexception e), after try block it says to throws (throws IOException) with function name after which i am to catch error message.. Please Provide Some assistance....


May be you desire to 'throws' catched exception above the call stack, and next, catch and process all exception in one place (or 'layer') of code?)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号