There are three parts to this question:
Q1: Should a squash exception be ignored?
I think the answer is ... "it depends."
If the reason for the exception is known, and you can catch it precisely (i.e., not catch the exceptions with different reasons), and the right thing to do is to ignore it then ... IMO ... Yes, that’s acceptable.
Otherwise. No.
Q2: IOException , ?
, . IOException , , . , , . , , -, , .
Q3: IOException?
, . :
} catch (IOException ex) {
throw new AssertionError("Unexpected exception", ex);
}
, - , , / , .
, , IOException , ( ) .