Android SDK Version
All Implemented Interfaces:
java.io.Serializable


public final class AggregateException
extends Exception
Aggregates multiple Throwables that may be thrown in the process of a task's execution.
Nested Class Summary
Modifier and TypeClassDescription
public classAggregateException.Companion
Field Summary
Modifier and TypeFieldDescription
private final Throwablecause
private final Stringmessage
Constructor Summary
ConstructorDescription
AggregateException(String detailMessage, List<Throwable> innerThrowables)
Method Summary
Methods inherited from class java.lang.Exception
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace
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<Throwable> innerThrowables)
Parameters:
detailMessage - The detail message for this exception.
innerThrowables - The exceptions that are the cause of the current exception.
Method Detail

getMessage

StringgetMessage()

printStackTrace

UnitprintStackTrace(PrintStream err)

printStackTrace

UnitprintStackTrace(PrintWriter err)