public class ExceptionUtil extends Object
| Constructor and Description |
|---|
ExceptionUtil() |
| Modifier and Type | Method and Description |
|---|---|
static RuntimeException |
propagate(Throwable t) |
static <T extends Throwable> |
propagateIfInstanceOf(Throwable t,
Class<T> cls) |
static void |
propagateIfPossible(Throwable t) |
public static RuntimeException propagate(Throwable t)
public static <T extends Throwable> void propagateIfInstanceOf(Throwable t, Class<T> cls) throws T extends Throwable
T extends Throwablepublic static void propagateIfPossible(Throwable t)
Copyright © 2014. All Rights Reserved.