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 19191 2010-08-25 21:05:23Z tcarlson $
 3  
  * --------------------------------------------------------------------------------------
 4  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.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.api.processor.MessageProcessor;
 14  
 import org.mule.api.routing.RoutingException;
 15  
 import org.mule.config.i18n.Message;
 16  
 
 17  
 /**
 18  
  * TODO document
 19  
  *
 20  
  */
 21  
 public class AggregationException extends RoutingException
 22  
 {
 23  
     /**
 24  
      * Serial version
 25  
      */
 26  
     private static final long serialVersionUID = 1276049971165761454L;
 27  
 
 28  0
     private EventGroup eventGroup = null;
 29  
 
 30  
     public AggregationException(EventGroup eventGroup, MessageProcessor endpoint)
 31  
     {
 32  0
         super(eventGroup.getMessageCollectionEvent(), endpoint);
 33  0
         this.eventGroup = eventGroup;
 34  0
     }
 35  
 
 36  
     public AggregationException(EventGroup eventGroup, MessageProcessor endpoint, Throwable cause)
 37  
     {
 38  0
         super(eventGroup.getMessageCollectionEvent(), endpoint, cause);
 39  0
         this.eventGroup = eventGroup;
 40  0
     }
 41  
 
 42  
     public AggregationException(Message message, EventGroup eventGroup, MessageProcessor endpoint)
 43  
     {
 44  0
         super(message, eventGroup.getMessageCollectionEvent(), endpoint);
 45  0
         this.eventGroup = eventGroup;
 46  0
     }
 47  
 
 48  
     public AggregationException(Message message, EventGroup eventGroup, MessageProcessor endpoint,
 49  
         Throwable cause)
 50  
     {
 51  0
         super(message, eventGroup.getMessageCollectionEvent(), endpoint, cause);
 52  0
         this.eventGroup = eventGroup;
 53  0
     }
 54  
 
 55  
     public EventGroup getEventGroup()
 56  
     {
 57  0
         return eventGroup;
 58  
     }
 59  
 }