KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mule > routing > AggregationException


1 /*
2  * $Id: AggregationException.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.routing;
12
13 import org.mule.config.i18n.Message;
14 import org.mule.impl.MuleMessage;
15 import org.mule.providers.NullPayload;
16 import org.mule.routing.inbound.EventGroup;
17 import org.mule.umo.endpoint.UMOImmutableEndpoint;
18 import org.mule.umo.routing.RoutingException;
19
20 /**
21  * todo document
22  *
23  * @author <a HREF="mailto:ross.mason@symphonysoft.com">Ross Mason</a>
24  * @version $Revision: 3798 $
25  */

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

31     private static final long serialVersionUID = 1276049971165761454L;
32
33     private EventGroup eventGroup = null;
34
35     public AggregationException(EventGroup eventGroup, UMOImmutableEndpoint endpoint)
36     {
37         super(new MuleMessage(new NullPayload()), endpoint);
38         this.eventGroup = eventGroup;
39     }
40
41     public AggregationException(EventGroup eventGroup, UMOImmutableEndpoint endpoint, Throwable JavaDoc cause)
42     {
43         super(new MuleMessage(new NullPayload()), endpoint, cause);
44         this.eventGroup = eventGroup;
45     }
46
47     public AggregationException(Message message, EventGroup eventGroup, UMOImmutableEndpoint endpoint)
48     {
49         super(message, new MuleMessage(new NullPayload()), endpoint);
50         this.eventGroup = eventGroup;
51     }
52
53     public AggregationException(Message message,
54                                 EventGroup eventGroup,
55                                 UMOImmutableEndpoint endpoint,
56                                 Throwable JavaDoc cause)
57     {
58         super(message, new MuleMessage(new NullPayload()), endpoint, cause);
59         this.eventGroup = eventGroup;
60     }
61
62     public EventGroup getEventGroup()
63     {
64         return eventGroup;
65     }
66 }
67
Popular Tags