public class MultiException extends Exception
Constructor and Description |
---|
MultiException(String message) |
MultiException(String message,
Collection<Throwable> causes) |
Modifier and Type | Method and Description |
---|---|
void |
addCause(Throwable e) |
Throwable[] |
getCauses() |
void |
printStackTrace() |
void |
printStackTrace(PrintStream out) |
void |
printStackTrace(PrintWriter out) |
static void |
throwIf(String message,
List<Throwable> throwables) |
void |
throwIfCauses() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
public MultiException(String message)
public MultiException(String message, Collection<Throwable> causes)
public void addCause(Throwable e)
public void throwIfCauses() throws MultiException
MultiException
public Throwable[] getCauses()
public void printStackTrace()
printStackTrace
in class Throwable
public void printStackTrace(PrintStream out)
printStackTrace
in class Throwable
Throwable.printStackTrace(java.io.PrintStream)
public void printStackTrace(PrintWriter out)
printStackTrace
in class Throwable
public static void throwIf(String message, List<Throwable> throwables) throws MultiException
MultiException
Copyright © 2011–2016 Red Hat. All rights reserved.