public class MultiException extends Exception
Constructor and Description |
---|
MultiException(String message) |
MultiException(String message,
List<Exception> exceptions) |
Modifier and Type | Method and Description |
---|---|
void |
addException(Exception e) |
Throwable[] |
getCauses() |
void |
printStackTrace() |
void |
printStackTrace(PrintStream out) |
void |
printStackTrace(PrintWriter out) |
static void |
throwIf(String message,
List<Exception> exceptions) |
void |
throwIfExceptions() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
public MultiException(String message)
public void addException(Exception e)
public void throwIfExceptions() 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<Exception> exceptions) throws MultiException
MultiException
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.