org.mule.api.routing
Class RoutingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.mule.api.MuleException
              extended by org.mule.api.MessagingException
                  extended by org.mule.api.routing.RoutingException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AggregationException, CouldNotRouteOutboundMessageException, DispatchException, ResponseTimeoutException, RoutePathNotFoundException

public class RoutingException
extends MessagingException

RoutingException is a base class for all routing exceptions. Routing exceptions are only thrown for DefaultInboundRouterCollection and DefaultOutboundRouterCollection and deriving types. Mule itself does not throw routing exceptions when routing internal events.

See Also:
Serialized Form

Field Summary
protected  MessageProcessor route
           
 
Fields inherited from class org.mule.api.MessagingException
event, muleMessage, processedEvent
 
Constructor Summary
RoutingException(Message message, MuleEvent event, MessageProcessor route)
           
RoutingException(Message message, MuleEvent event, MessageProcessor route, Throwable cause)
           
RoutingException(MuleEvent event, MessageProcessor route)
           
RoutingException(MuleEvent event, MessageProcessor route, Throwable cause)
           
 
Method Summary
 MessageProcessor getRoute()
           
 
Methods inherited from class org.mule.api.MessagingException
causedBy, causedExactlyBy, causedRollback, causeMatches, extractMuleMessage, getCauseException, getEvent, getFailingMessageProcessor, getMuleMessage, handled, setCauseRollback, setHandled, setProcessedEvent
 
Methods inherited from class org.mule.api.MuleException
addInfo, appendMessage, equals, getDetailedMessage, getExceptionCode, getI18nMessage, getInfo, getMessage, getMessageCode, getSummaryMessage, getVerboseMessage, hashCode, initialise, prependMessage, setExceptionCode, setMessage, setMessage
 
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, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

route

protected final transient MessageProcessor route
Constructor Detail

RoutingException

public RoutingException(MuleEvent event,
                        MessageProcessor route)

RoutingException

public RoutingException(MuleEvent event,
                        MessageProcessor route,
                        Throwable cause)

RoutingException

public RoutingException(Message message,
                        MuleEvent event,
                        MessageProcessor route)

RoutingException

public RoutingException(Message message,
                        MuleEvent event,
                        MessageProcessor route,
                        Throwable cause)
Method Detail

getRoute

public MessageProcessor getRoute()


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.