@propensive - in your Scala code, if a Java method's signature includes a checked exception, will you *always* assume you need to handle it?
-
-
Replying to @propensive
@Gentmen ...normally I just know (from expectation or bad experience) what exceptions need to be handled. But maybe I should check docs...1 reply 0 retweets 0 likes -
Replying to @propensive
@propensive if an API 'throws IOException," I'm not sure if it's OK to look at the source and say, "oh, but my call to it won't throw."1 reply 0 retweets 0 likes
. @Gentmen Also, only bother distinguishing between different exception types if your end-user is going to see a difference.
10:11 AM - 26 Jan 2015
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.