Hi All,

Currently for 4.x, there is a mix of different types of exceptions that can
be thrown when a connection is closed. It can be RuntimeException,
IOException or IllegalStateException. These should all be IOException since
that is the class of exception for this type of network error. This split
causes a couple problems: 1) it doesn't allow users to catch a single type
of exception, 2) it's actually not
what IllegalStateException/RuntimeException are meant for and 3) this
non-determinism is causing flaky tests.

Does anyone have any concerns around throwing only IOException for errors
involving connection issues in the Java GLV?

Thanks,
Ken

Reply via email to