Class BatchExecutionException

  • All Implemented Interfaces:
    Serializable

    public class BatchExecutionException
    extends DistributedExecutionException
    Subclass of DistributedExecutionException that contains all the exceptions that occurred in one batch. The various methods of ExecutionUtil will flatten DistributedExecutionException's containing batch execution exception such that the client only sees flat DistributedExecutionException's. In other words, this exception will never be seen by clients, but cluster provider implementations should throw it if they process a batch where the batch has multiple exceptions.
    See Also:
    Serialized Form
    • Constructor Detail

      • BatchExecutionException

        public BatchExecutionException​(List<? extends Throwable> exceptions)
        Create a batch execution exception from a list of causes
        Parameters:
        exceptions - the cause exceptions