public final class Throwables extends Object
Modifier and Type | Method and Description |
---|---|
static <T extends Throwable> |
combine(T throwable,
T otherThrowable) |
static Exception |
expectException(Throwable throwable) |
static RuntimeException |
expectRuntimeException(Throwable throwable) |
public static RuntimeException expectRuntimeException(Throwable throwable)
public static <T extends Throwable> T combine(T throwable, T otherThrowable)
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved