logoalt Hacker News

spullara • today at 7:58 PM • 1 reply • view on HN

that is the same as saying the method throws IOException


Replies

sieve • today at 8:28 PM

It might throw one. There is a difference between documenting what exceptions can be thrown and forcing every consumer to handle them.

➕ show 1 reply