Package org.jclouds.util
Class Throwables2
java.lang.Object
org.jclouds.util.Throwables2
General utilities used in jclouds code.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontainsThrowable
(Class<T> throwableType) static <T extends Throwable>
TgetFirstThrowableOfType
(Throwable from, Class<T> clazz) static <T> T
static void
propagateIfPossible
(Throwable exception, Iterable<com.google.common.reflect.TypeToken<? extends Throwable>> throwables)
-
Constructor Details
-
Throwables2
public Throwables2()
-
-
Method Details