public class AggregateException
extends java.lang.Exception
Throwables that may be thrown in the process of a task's execution.| Constructor and Description | 
|---|
| AggregateException(java.util.List<? extends java.lang.Throwable> innerThrowables)Constructs a new  AggregateExceptionwith the current stack trace and with references to
 the inner throwables that are the cause of this exception. | 
| AggregateException(java.lang.String detailMessage,
                  java.util.List<? extends java.lang.Throwable> innerThrowables)Constructs a new  AggregateExceptionwith the current stack trace, the specified detail
 message and with references to the inner throwables that are the cause of this exception. | 
| AggregateException(java.lang.String detailMessage,
                  java.lang.Throwable[] innerThrowables)Constructs a new  AggregateExceptionwith the current stack trace, the specified detail
 message and with references to the inner throwables that are the cause of this exception. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.Throwable[] | getCauses()Deprecated. 
 Please use  getInnerThrowables()instead. | 
| java.util.List<java.lang.Exception> | getErrors()Deprecated. 
 Please use  getInnerThrowables()instead. | 
| java.util.List<java.lang.Throwable> | getInnerThrowables()Returns a read-only  Listof theThrowableinstances that caused the current
 exception. | 
| void | printStackTrace(java.io.PrintStream err) | 
| void | printStackTrace(java.io.PrintWriter err) | 
public AggregateException(java.lang.String detailMessage,
                  java.lang.Throwable[] innerThrowables)
AggregateException with the current stack trace, the specified detail
 message and with references to the inner throwables that are the cause of this exception.detailMessage - The detail message for this exception.innerThrowables - The exceptions that are the cause of the current exception.public AggregateException(java.lang.String detailMessage,
                  java.util.List<? extends java.lang.Throwable> innerThrowables)
AggregateException with the current stack trace, the specified detail
 message and with references to the inner throwables that are the cause of this exception.detailMessage - The detail message for this exception.innerThrowables - The exceptions that are the cause of the current exception.public AggregateException(java.util.List<? extends java.lang.Throwable> innerThrowables)
AggregateException with the current stack trace and with references to
 the inner throwables that are the cause of this exception.innerThrowables - The exceptions that are the cause of the current exception.public java.util.List<java.lang.Throwable> getInnerThrowables()
List of the Throwable instances that caused the current
 exception.public void printStackTrace(java.io.PrintStream err)
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintWriter err)
printStackTrace in class java.lang.Throwable@Deprecated public java.util.List<java.lang.Exception> getErrors()
getInnerThrowables() instead.@Deprecated public java.lang.Throwable[] getCauses()
getInnerThrowables() instead.