Class DistributedExecutionException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BatchExecutionException

public class DistributedExecutionException extends ExecutionException
An ExecutionException in a distributed context. A DistributedExceptionException can have multiple causes.
See Also:
  • Constructor Details

    • DistributedExecutionException

      public DistributedExecutionException(List<? extends Throwable> exceptions)
      Creates the exception from a list of causes
      Parameters:
      exceptions - the cause exception
  • Method Details

    • getCauses

      public List<Throwable> getCauses()
      Returns the cause exceptions
      Returns:
      the cause exception
    • printStackTrace

      public void printStackTrace()
      Prints this exception's stack trace, and the stack trace of all the causing exceptions, to the standard error stream.
      Overrides:
      printStackTrace in class Throwable
    • printStackTrace

      public void printStackTrace(PrintStream printStream)
      Prints this exception's stack trace, and the stack trace of all the causing exceptions, to the specified PrintStream.
      Overrides:
      printStackTrace in class Throwable
    • printStackTrace

      public void printStackTrace(PrintWriter printWriter)
      Prints this exception's stack trace, and the stack trace of all the causing exceptions, to the specified PrintWriter.
      Overrides:
      printStackTrace in class Throwable
    • toString

      public String toString()
      Prints this exception's stack trace and cause map.
      Overrides:
      toString in class Throwable