Share via


CompositeTaskFailedException Class

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • java.lang.RuntimeException
          • com.microsoft.durabletask.CompositeTaskFailedException

public class CompositeTaskFailedException
extends java.lang.RuntimeException

Exception that gets thrown when multiple Task<V>s for an activity or sub-orchestration fails with an unhandled exception.

Detailed information associated with each task failure can be retrieved using the getExceptions() method.

Method Summary

Modifier and Type Method and Description
java.util.List<java.lang.Exception> getExceptions()

Gets a list of exceptions that occurred during execution of a group of Task<V> These exceptions include details of the task failure and exception information

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Methods inherited from java.lang.Throwable

java.lang.Throwable.addSuppressed java.lang.Throwable.fillInStackTrace java.lang.Throwable.getCause java.lang.Throwable.getLocalizedMessage java.lang.Throwable.getMessage java.lang.Throwable.getStackTrace java.lang.Throwable.getSuppressed java.lang.Throwable.initCause java.lang.Throwable.printStackTrace java.lang.Throwable.printStackTrace java.lang.Throwable.printStackTrace java.lang.Throwable.setStackTrace java.lang.Throwable.toString

Method Details

getExceptions

public List getExceptions()

Gets a list of exceptions that occurred during execution of a group of Task<V> These exceptions include details of the task failure and exception information

Returns:

a list of exceptions

Applies to