reThrow

fun reThrow(th: Throwable?)

Deprecated

Use rethrowAlways(Throwable) instead and guard against null

Replace with

if (th != null) IOUtils.rethrowAlways(th)

Rethrows the argument as IOException or RuntimeException if it's not null.