public class CompositeRoutingException extends MessagingException
MessagingException used to aggregate exceptions thrown by
several routes in the context of a single MessageRouter Exceptions are
correlated to each route through a sequential idevent, muleMessage, PAYLOAD_INFO_KEY, PAYLOAD_TYPE_INFO_KEY, processedEvent| Constructor and Description |
|---|
CompositeRoutingException(Message message,
MuleEvent event,
Map<Integer,Throwable> exceptions)
Constructs a new
CompositeRoutingException |
CompositeRoutingException(MuleEvent event,
Map<Integer,Throwable> exceptions) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
generateMessage(Message message) |
String |
getDetailedMessage() |
Throwable |
getExceptionForRouteIndex(Integer index)
Returns the
Exception for the given route index |
Map<Integer,Throwable> |
getExceptions() |
causedBy, causedExactlyBy, causedRollback, causeMatches, extractMuleMessage, getCauseException, getEvent, getFailingMessageProcessor, getMuleMessage, handled, setCauseRollback, setHandled, setProcessedEventaddInfo, appendMessage, equals, getExceptionCode, getI18nMessage, getInfo, getMessage, getMessageCode, getSummaryMessage, getVerboseMessage, hashCode, initialise, prependMessage, setExceptionCode, setMessage, setMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CompositeRoutingException(Message message, MuleEvent event, Map<Integer,Throwable> exceptions)
CompositeRoutingExceptionprotected String generateMessage(Message message)
generateMessage in class MessagingExceptionpublic Throwable getExceptionForRouteIndex(Integer index)
Exception for the given route indexpublic String getDetailedMessage()
getDetailedMessage in class MuleExceptionCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.