1 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 26 public class AggregationException extends RoutingException 27 { 28 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 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 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 |