public class Throwables
extends java.lang.Object
Constructor and Description |
---|
Throwables() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Throwable |
close(java.lang.Throwable accumulate,
java.lang.Iterable<? extends java.lang.AutoCloseable> closeables) |
static void |
maybeFail(java.lang.Throwable fail) |
static java.lang.Throwable |
merge(java.lang.Throwable existingFail,
java.lang.Throwable newFail) |
public static java.lang.Throwable merge(java.lang.Throwable existingFail, java.lang.Throwable newFail)
public static void maybeFail(java.lang.Throwable fail)
public static java.lang.Throwable close(java.lang.Throwable accumulate, java.lang.Iterable<? extends java.lang.AutoCloseable> closeables)
Copyright © 2016 The Apache Software Foundation