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 com.google.common.base.Optional<java.io.IOException> |
extractIOExceptionCause(java.lang.Throwable t) |
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)
public static com.google.common.base.Optional<java.io.IOException> extractIOExceptionCause(java.lang.Throwable t)
Copyright © 2018 The Apache Software Foundation