@propensive - in your Scala code, if a Java method's signature includes a checked exception, will you *always* assume you need to handle it?
@Gentmen ...normally I just know (from expectation or bad experience) what exceptions need to be handled. But maybe I should check docs...
-
-
@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." -
@Gentmen That depends how thoroughly you're catching and dealing with exceptions. How "ok" is it for the exception to be handled higher up? - Show replies
New conversation -
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.