Android SDK Version
  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • com.facebook.bolts.AggregateException
All Implemented Interfaces:
java.io.Serializable

public class AggregateException
extends java.lang.Exception
Aggregates multiple Throwables that may be thrown in the process of a task's execution.
Constructor Summary
Constructor and Description
AggregateException(java.lang.String detailMessage, java.util.List<? extends java.lang.Throwable> innerThrowables)
Constructs a new AggregateException with the current stack trace, the specified detail message and with references to the inner throwables that are the cause of this exception.
Method Summary
Modifier and TypeMethod and Description
voidprintStackTrace(java.io.PrintStream err) 
voidprintStackTrace(java.io.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, wait, wait, wait
Constructor Detail

AggregateException

public AggregateException(java.lang.String detailMessage,
                          java.util.List<? extends java.lang.Throwable> innerThrowables)
Constructs a new AggregateException with the current stack trace, the specified detail message 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

public void printStackTrace(java.io.PrintStream err)
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter err)
Overrides:
printStackTrace in class java.lang.Throwable