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.
It might throw one. There is a difference between documenting what exceptions can be thrown and forcing every consumer to handle them.