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 7963 2007-08-21 08:53:15Z dirk.olmes $
 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.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  
 public class AggregationException extends RoutingException
 24  
 {
 25  
     /**
 26  
      * Serial version
 27  
      */
 28  
     private static final long serialVersionUID = 1276049971165761454L;
 29  
 
 30  0
     private EventGroup eventGroup = null;
 31  
 
 32  
     public AggregationException(EventGroup eventGroup, UMOImmutableEndpoint endpoint)
 33  
     {
 34  0
         super(new MuleMessage(NullPayload.getInstance()), endpoint);
 35  0
         this.eventGroup = eventGroup;
 36  0
     }
 37  
 
 38  
     public AggregationException(EventGroup eventGroup, UMOImmutableEndpoint endpoint, Throwable cause)
 39  
     {
 40  0
         super(new MuleMessage(NullPayload.getInstance()), endpoint, cause);
 41  0
         this.eventGroup = eventGroup;
 42  0
     }
 43  
 
 44  
     public AggregationException(Message message, EventGroup eventGroup, UMOImmutableEndpoint endpoint)
 45  
     {
 46  0
         super(message, new MuleMessage(NullPayload.getInstance()), endpoint);
 47  0
         this.eventGroup = eventGroup;
 48  0
     }
 49  
 
 50  
     public AggregationException(Message message,
 51  
                                 EventGroup eventGroup,
 52  
                                 UMOImmutableEndpoint endpoint,
 53  
                                 Throwable cause)
 54  
     {
 55  0
         super(message, new MuleMessage(NullPayload.getInstance()), endpoint, cause);
 56  0
         this.eventGroup = eventGroup;
 57  0
     }
 58  
 
 59  
     public EventGroup getEventGroup()
 60  
     {
 61  0
         return eventGroup;
 62  
     }
 63  
 }