that is the same as saying the method throws IOException
It might throw one. There is a difference between documenting what exceptions can be thrown and forcing every consumer to handle them.
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
It might throw one. There is a difference between documenting what exceptions can be thrown and forcing every consumer to handle them.