KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mule > umo > provider > DispatchException


1 /*
2  * $Id: DispatchException.java 3798 2006-11-04 04:07:14Z aperepel $
3  * --------------------------------------------------------------------------------------
4  * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
5  *
6  * The software in this package is published under the terms of the MuleSource MPL
7  * license, a copy of which has been included with this distribution in the
8  * LICENSE.txt file.
9  */

10
11 package org.mule.umo.provider;
12
13 import org.mule.config.i18n.Message;
14 import org.mule.umo.UMOMessage;
15 import org.mule.umo.endpoint.UMOImmutableEndpoint;
16 import org.mule.umo.routing.RoutingException;
17
18 /**
19  * <code>DispatchException</code> is thrown when an endpoint dispatcher fails to
20  * send, dispatch or receive a message.
21  *
22  * @author <a HREF="mailto:ross.mason@symphonysoft.com">Ross Mason</a>
23  * @version $Revision: 3798 $
24  */

25
26 public class DispatchException extends RoutingException
27 {
28     /**
29      * Serial version
30      */

31     private static final long serialVersionUID = -8204621943732496605L;
32
33     public DispatchException(UMOMessage message, UMOImmutableEndpoint endpoint)
34     {
35         super(message, endpoint);
36     }
37
38     public DispatchException(UMOMessage umoMessage, UMOImmutableEndpoint endpoint, Throwable JavaDoc cause)
39     {
40         super(umoMessage, endpoint, cause);
41     }
42
43     public DispatchException(Message message, UMOMessage umoMessage, UMOImmutableEndpoint endpoint)
44     {
45         super(message, umoMessage, endpoint);
46     }
47
48     public DispatchException(Message message,
49                              UMOMessage umoMessage,
50                              UMOImmutableEndpoint endpoint,
51                              Throwable JavaDoc cause)
52     {
53         super(message, umoMessage, endpoint, cause);
54     }
55 }
56
Popular Tags