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:
java.io.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:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    AggregateMessageDeliveryException​(org.springframework.messaging.Message<?> undeliveredMessage, java.lang.String description, java.util.List<? extends java.lang.Exception> aggregatedExceptions)  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<? extends java.lang.Exception> getAggregatedExceptions()
    Obtain a list aggregated target exceptions.
    java.lang.String getMessage()  

    Methods inherited from class org.springframework.messaging.MessagingException

    getFailedMessage, toString

    Methods inherited from class org.springframework.core.NestedRuntimeException

    contains, getMostSpecificCause, getRootCause

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AggregateMessageDeliveryException

      public AggregateMessageDeliveryException​(org.springframework.messaging.Message<?> undeliveredMessage, java.lang.String description, java.util.List<? extends java.lang.Exception> aggregatedExceptions)
  • Method Details

    • getAggregatedExceptions

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

      public java.lang.String getMessage()
      Overrides:
      getMessage in class org.springframework.core.NestedRuntimeException