Class Rethrow.Rethrower<T extends java.lang.Throwable>
- java.lang.Object
-
- com.carrotsearch.randomizedtesting.Rethrow.Rethrower<T>
-
- Enclosing class:
- Rethrow
private static class Rethrow.Rethrower<T extends java.lang.Throwable> extends java.lang.Object
Classy puzzler to rethrow any checked exception as an unchecked one.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Rethrower()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
rethrow(java.lang.Throwable t)
-