Package com.denodo.util.exceptions
Class ExceptionUtil
java.lang.Object
com.denodo.util.exceptions.ExceptionUtil
From 'Java Concurrency in Practice': Coerce an unchecked Throwable to a
RuntimeException. If the Throwable is an Error, throw it; if it is a
RuntimeException return it, otherwise throw IllegalStateException.
-
Method Summary
Modifier and TypeMethodDescriptionstatic RuntimeExceptionFrom 'Java Concurrency in Practice': Coerce an unchecked Throwable to a RuntimeException.
-
Method Details
-
launderThrowable
From 'Java Concurrency in Practice': Coerce an unchecked Throwable to a RuntimeException. If the Throwable is an Error, throw it; if it is a RuntimeException return it, otherwise throw IllegalStateException.
-