rethrowAlways
Always rethrows the given Throwable as an IOException or unchecked exception. This method never actually returns; its return type Error (or in this port, Nothing) is only to satisfy the compiler that no code follows.
Parameters
th
the throwable to rethrow (must not be null)
Throws
IOException
if th is an IOException
(wrapped) if th is not an IOException or Error