JavaScript is disabled on your browser.
bolts

Class 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.
    See Also:
    Task.whenAll(java.util.Collection), Serialized Form
    • Constructor Summary

      Constructors
      Constructor and Description
      AggregateException (java.util.List<? extends java.lang.Throwable> innerThrowables)
      Constructs a new AggregateException with 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 AggregateException with 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 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

      Methods
      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 List of the Throwable instances that caused the current exception.
      void printStackTrace (java.io.PrintStream err)
      void printStackTrace (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.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.
      • 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.
      • AggregateException

        public AggregateException(java.util.List<? extends java.lang.Throwable> innerThrowables)
        Constructs a new AggregateException with the current stack trace and with references to the inner throwables that are the cause of this exception.
        Parameters:
        innerThrowables - The exceptions that are the cause of the current exception.
    • Method Detail

      • getInnerThrowables

        public java.util.List<java.lang.Throwable> getInnerThrowables()
        Returns a read-only List of the Throwable instances that caused the current exception.
      • 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
      • getErrors

        @Deprecated
        public java.util.List<java.lang.Exception> getErrors()
        Deprecated. Please use getInnerThrowables() instead.
      • getCauses

        @Deprecated
        public java.lang.Throwable[] getCauses()
        Deprecated. Please use getInnerThrowables() instead.

AltStyle によって変換されたページ (->オリジナル) /