1
2
3
4
5
6
7
8
9
10
11 package org.mule.routing;
12
13 import org.mule.api.processor.MessageProcessor;
14 import org.mule.api.routing.RoutingException;
15 import org.mule.config.i18n.Message;
16
17
18
19
20
21 public class AggregationException extends RoutingException
22 {
23
24
25
26 private static final long serialVersionUID = 1276049971165761454L;
27
28 private EventGroup eventGroup = null;
29
30 public AggregationException(EventGroup eventGroup, MessageProcessor endpoint)
31 {
32 super(eventGroup.getMessageCollectionEvent(), endpoint);
33 this.eventGroup = eventGroup;
34 }
35
36 public AggregationException(EventGroup eventGroup, MessageProcessor endpoint, Throwable cause)
37 {
38 super(eventGroup.getMessageCollectionEvent(), endpoint, cause);
39 this.eventGroup = eventGroup;
40 }
41
42 public AggregationException(Message message, EventGroup eventGroup, MessageProcessor endpoint)
43 {
44 super(message, eventGroup.getMessageCollectionEvent(), endpoint);
45 this.eventGroup = eventGroup;
46 }
47
48 public AggregationException(Message message, EventGroup eventGroup, MessageProcessor endpoint,
49 Throwable cause)
50 {
51 super(message, eventGroup.getMessageCollectionEvent(), endpoint, cause);
52 this.eventGroup = eventGroup;
53 }
54
55 public EventGroup getEventGroup()
56 {
57 return eventGroup;
58 }
59 }