logoalt Hacker News

spullara • today at 7:58 PM • 2 replies • 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
pandemic_region • today at 9:30 PM

IOException must be #1 on the list of most ignored exceptions. Like okay what am I supposed to do really I'm just trying to run a select against my db