Package org.apache.commons.io.function
Class Erase
java.lang.Object
org.apache.commons.io.function.Erase
Erases
IOException
for the compiler but still throws that exception at runtime.- Since:
- 2.16.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Throwable>
RuntimeExceptionThrows the given throwable.
-
Method Details
-
rethrow
Throws the given throwable.- Type Parameters:
T
- The throwable cast type.- Parameters:
throwable
- The throwable to rethrow.- Returns:
- nothing because we throw.
- Throws:
T
- Always thrown.
-