src/main/java/org/jmxtrans/agent/util/io/IoRuntimeException.java
public static IoRuntimeException propagate(IOException e) {
        if (e instanceof FileNotFoundException) {
            return new FileNotFoundRuntimeException(e);
        } else {
            return new IoRuntimeException(e);
        }
    }
public static IoRuntimeException propagate(IOException e) {
        if (e instanceof FileNotFoundException) {
            return new FileNotFoundRuntimeException(e);
        } else {
            return new IoRuntimeException(e);
        }
    }
This method returns an instance {@link IoRuntimeException}.

Inspired by {@code com.google.common.base.Throwables#propagate(java.lang.Throwable)}.
<pre>
try {
...
} catch (IOException e) {
throw IoRuntimeException.propagate(e);
}
</pre>
@param e