public class Throwables2 extends Object
| Constructor and Description | 
|---|
Throwables2()  | 
| Modifier and Type | Method and Description | 
|---|---|
static <T extends Throwable>  | 
containsThrowable(Class<T> throwableType)  | 
static <T extends Throwable>  | 
getFirstThrowableOfType(Throwable from,
                       Class<T> clazz)  | 
static <T> T | 
propagateAuthorizationOrOriginalException(Exception e)  | 
static void | 
propagateIfPossible(Throwable exception,
                   Iterable<com.google.common.reflect.TypeToken<? extends Throwable>> throwables)  | 
public static <T extends Throwable> com.google.common.base.Predicate<Throwable> containsThrowable(Class<T> throwableType)
public static <T extends Throwable> T getFirstThrowableOfType(Throwable from, Class<T> clazz)
public static <T> T propagateAuthorizationOrOriginalException(Exception e)
Copyright © 2009-2013 jclouds. All Rights Reserved.