Coverage Report - org.mule.routing.AggregationException
 
Classes in this File Line Coverage Branch Coverage Complexity
AggregationException
0%
0/14
N/A
1
 
 1  
 /*
 2  
  * $Id: AggregationException.java 10489 2008-01-23 17:53:38Z dfeist $
 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 CPAL v1.0
 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.DefaultMuleMessage;
 14  
 import org.mule.api.endpoint.ImmutableEndpoint;
 15  
 import org.mule.api.routing.RoutingException;
 16  
 import org.mule.config.i18n.Message;
 17  
 import org.mule.routing.inbound.EventGroup;
 18  
 import org.mule.transport.NullPayload;
 19  
 
 20  
 /**
 21  
  * TODO document
 22  
  *
 23  
  */
 24  
 public class AggregationException extends RoutingException
 25  
 {
 26  
     /**
 27  
      * Serial version
 28  
      */
 29  
     private static final long serialVersionUID = 1276049971165761454L;
 30  
 
 31  0
     private EventGroup eventGroup = null;
 32  
 
 33  
     public AggregationException(EventGroup eventGroup, ImmutableEndpoint endpoint)
 34  
     {
 35  0
         super(new DefaultMuleMessage(NullPayload.getInstance()), endpoint);
 36  0
         this.eventGroup = eventGroup;
 37  0
     }
 38  
 
 39  
     public AggregationException(EventGroup eventGroup, ImmutableEndpoint endpoint, Throwable cause)
 40  
     {
 41  0
         super(new DefaultMuleMessage(NullPayload.getInstance()), endpoint, cause);
 42  0
         this.eventGroup = eventGroup;
 43  0
     }
 44  
 
 45  
     public AggregationException(Message message, EventGroup eventGroup, ImmutableEndpoint endpoint)
 46  
     {
 47  0
         super(message, new DefaultMuleMessage(NullPayload.getInstance()), endpoint);
 48  0
         this.eventGroup = eventGroup;
 49  0
     }
 50  
 
 51  
     public AggregationException(Message message,
 52  
                                 EventGroup eventGroup,
 53  
                                 ImmutableEndpoint endpoint,
 54  
                                 Throwable cause)
 55  
     {
 56  0
         super(message, new DefaultMuleMessage(NullPayload.getInstance()), endpoint, cause);
 57  0
         this.eventGroup = eventGroup;
 58  0
     }
 59  
 
 60  
     public EventGroup getEventGroup()
 61  
     {
 62  0
         return eventGroup;
 63  
     }
 64  
 }