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, setProcessedEvent
addInfo, appendMessage, equals, getExceptionCode, getI18nMessage, getInfo, getMessage, getMessageCode, getSummaryMessage, getVerboseMessage, hashCode, initialise, prependMessage, setExceptionCode, setMessage, setMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CompositeRoutingException(Message message, MuleEvent event, Map<Integer,Throwable> exceptions)
CompositeRoutingException
protected String generateMessage(Message message)
generateMessage
in class MessagingException
public Throwable getExceptionForRouteIndex(Integer index)
Exception
for the given route indexpublic String getDetailedMessage()
getDetailedMessage
in class MuleException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.