Class AggregateMessageDeliveryException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.messaging.MessagingException
org.springframework.messaging.MessageDeliveryException
org.springframework.integration.dispatcher.AggregateMessageDeliveryException
All Implemented Interfaces:
Serializable

public class AggregateMessageDeliveryException extends org.springframework.messaging.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
See Also:
  • Constructor Details

    • AggregateMessageDeliveryException

      public AggregateMessageDeliveryException(org.springframework.messaging.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