org.springframework.integration.dispatcher
Class AggregateMessageDeliveryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.integration.MessagingException
                  extended by org.springframework.integration.MessageDeliveryException
                      extended by org.springframework.integration.dispatcher.AggregateMessageDeliveryException
All Implemented Interfaces:
java.io.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
See Also:
Serialized Form

Constructor Summary
AggregateMessageDeliveryException(Message<?> undeliveredMessage, java.lang.String description, java.util.List<? extends java.lang.Exception> aggregatedExceptions)
           
 
Method Summary
 java.util.List<? extends java.lang.Exception> getAggregatedExceptions()
           
 java.lang.String getMessage()
           
 
Methods inherited from class org.springframework.integration.MessagingException
getFailedMessage, setFailedMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AggregateMessageDeliveryException

public AggregateMessageDeliveryException(Message<?> undeliveredMessage,
                                         java.lang.String description,
                                         java.util.List<? extends java.lang.Exception> aggregatedExceptions)
Method Detail

getAggregatedExceptions

public java.util.List<? extends java.lang.Exception> getAggregatedExceptions()

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable