01: /*
02: * $Id: DispatchException.java 10489 2008-01-23 17:53:38Z dfeist $
03: * --------------------------------------------------------------------------------------
04: * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
05: *
06: * The software in this package is published under the terms of the CPAL v1.0
07: * license, a copy of which has been included with this distribution in the
08: * LICENSE.txt file.
09: */
10:
11: package org.mule.api.transport;
12:
13: import org.mule.api.MuleMessage;
14: import org.mule.api.endpoint.ImmutableEndpoint;
15: import org.mule.api.routing.RoutingException;
16: import org.mule.config.i18n.Message;
17:
18: /**
19: * <code>DispatchException</code> is thrown when an endpoint dispatcher fails to
20: * send, dispatch or receive a message.
21: */
22:
23: public class DispatchException extends RoutingException {
24: /**
25: * Serial version
26: */
27: private static final long serialVersionUID = -8204621943732496605L;
28:
29: public DispatchException(MuleMessage message,
30: ImmutableEndpoint endpoint) {
31: super (message, endpoint);
32: }
33:
34: public DispatchException(MuleMessage umoMessage,
35: ImmutableEndpoint endpoint, Throwable cause) {
36: super (umoMessage, endpoint, cause);
37: }
38:
39: public DispatchException(Message message, MuleMessage umoMessage,
40: ImmutableEndpoint endpoint) {
41: super (message, umoMessage, endpoint);
42: }
43:
44: public DispatchException(Message message, MuleMessage umoMessage,
45: ImmutableEndpoint endpoint, Throwable cause) {
46: super(message, umoMessage, endpoint, cause);
47: }
48: }
|