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 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description AggregateMessageDeliveryException(Message<?> undeliveredMessage, String description, List<? extends Exception> aggregatedExceptions)
-
Method Summary
Modifier and Type Method Description List<? extends Exception>
getAggregatedExceptions()
Obtain a list aggregated target exceptions.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
-
Constructor Details
-
Method Details
-
getAggregatedExceptions
Obtain a list aggregated target exceptions.- Returns:
- the list of target exceptions
-
getMessage
- Overrides:
getMessage
in classNestedRuntimeException
-