public final class Throwables
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.util.Iterator<java.lang.Throwable> |
getCauses(java.lang.Throwable throwable) |
static java.lang.Throwable |
getRootCause(java.lang.Throwable throwable) |
static java.lang.RuntimeException |
propagate(java.lang.Throwable throwable) |
static <T extends java.lang.Throwable> |
propagateIfInstanceOf(java.lang.Throwable throwable,
java.lang.Class<T> type) |
static void |
propagateIfPossible(java.lang.Throwable throwable) |
public static java.lang.Throwable getRootCause(java.lang.Throwable throwable)
public static java.util.Iterator<java.lang.Throwable> getCauses(java.lang.Throwable throwable)
public static java.lang.RuntimeException propagate(java.lang.Throwable throwable)
public static void propagateIfPossible(java.lang.Throwable throwable)
public static <T extends java.lang.Throwable> void propagateIfInstanceOf(java.lang.Throwable throwable, java.lang.Class<T> type) throws T extends java.lang.Throwable
T extends java.lang.Throwable
Copyright © 2019. All rights reserved.