public final class LangUtil
extends Object
Grouping of language level utilities to make programming in Java more convenient.
-
Constructor Summary
Constructors
-
Method Summary
static void
Rethrow an
Throwable preserving the stack trace but making it unchecked.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
LangUtil
private LangUtil()
-
Method Details
-
rethrowUnchecked
public static void rethrowUnchecked(Throwable ex)
Rethrow an
Throwable preserving the stack trace but making it unchecked.
- Parameters:
ex - to be rethrown and unchecked.
-