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