Class AggregateMessageDeliveryException

All Implemented Interfaces:
Serializable

public class AggregateMessageDeliveryException extends MessageDeliveryException
An Exception that encapsulates an aggregated group of Exceptions for use by dispatchers that may try multiple handler invocations within a single dispatch operation.
Since:
1.0.3
Author:
Mark Fisher, Artem Bilan, Gary Russell
See Also:
  • Constructor Details

    • AggregateMessageDeliveryException

      public AggregateMessageDeliveryException(Message<?> undeliveredMessage, String description, List<? extends Exception> aggregatedExceptions)
  • Method Details

    • getAggregatedExceptions

      public List<? extends Exception> getAggregatedExceptions()
      Obtain a list aggregated target exceptions.
      Returns:
      the list of target exceptions
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable