-
- All Implemented Interfaces:
-
java.io.Serializable
public class AggregateException extends Exception
Aggregates multiple
{@code Throwable}s that may be thrown in the process of a task's execution.
-
-
Constructor Summary
Constructors Constructor Description AggregateException(String detailMessage, List<out Throwable> innerThrowables)Constructs a new {@code AggregateException}with the current stack trace, the specified detailmessage and with references to the inner throwables that are the cause of this exception.
-
Method Summary
Modifier and Type Method Description voidprintStackTrace(PrintStream err)voidprintStackTrace(PrintWriter err)-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
AggregateException
AggregateException(String detailMessage, List<out Throwable> innerThrowables)
Constructs a new{@code AggregateException}with the current stack trace, the specified detailmessage and with references to the inner throwables that are the cause of this exception.- Parameters:
detailMessage- The detail message for this exception.innerThrowables- The exceptions that are the cause of the current exception.
-
-
Method Detail
-
printStackTrace
void printStackTrace(PrintStream err)
-
printStackTrace
void printStackTrace(PrintWriter err)
-
-
-
-