Class Rethrow
- java.lang.Object
-
- com.carrotsearch.randomizedtesting.Rethrow
-
public final class Rethrow extends java.lang.ObjectRethrowing checked exceptions as unchecked ones. Eh, it is sometimes useful...
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classRethrow.Rethrower<T extends java.lang.Throwable>Classy puzzler to rethrow any checked exception as an unchecked one.
-
Constructor Summary
Constructors Constructor Description Rethrow()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.RuntimeExceptionrethrow(java.lang.Throwable t)Rethrowst(identical object).
-