Coverage Report - org.mule.routing.AggregationException
 
Classes in this File Line Coverage Branch Coverage Complexity
AggregationException
0%
0/14
N/A
1
 
 1  
 /*
 2  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 3  
  * The software in this package is published under the terms of the CPAL v1.0
 4  
  * license, a copy of which has been included with this distribution in the
 5  
  * LICENSE.txt file.
 6  
  */
 7  
 package org.mule.routing;
 8  
 
 9  
 import org.mule.api.processor.MessageProcessor;
 10  
 import org.mule.api.routing.RoutingException;
 11  
 import org.mule.config.i18n.Message;
 12  
 
 13  
 /**
 14  
  * TODO document
 15  
  *
 16  
  */
 17  
 public class AggregationException extends RoutingException
 18  
 {
 19  
     /**
 20  
      * Serial version
 21  
      */
 22  
     private static final long serialVersionUID = 1276049971165761454L;
 23  
 
 24  0
     private EventGroup eventGroup = null;
 25  
 
 26  
     public AggregationException(EventGroup eventGroup, MessageProcessor endpoint)
 27  
     {
 28  0
         super(eventGroup.getMessageCollectionEvent(), endpoint);
 29  0
         this.eventGroup = eventGroup;
 30  0
     }
 31  
 
 32  
     public AggregationException(EventGroup eventGroup, MessageProcessor endpoint, Throwable cause)
 33  
     {
 34  0
         super(eventGroup.getMessageCollectionEvent(), endpoint, cause);
 35  0
         this.eventGroup = eventGroup;
 36  0
     }
 37  
 
 38  
     public AggregationException(Message message, EventGroup eventGroup, MessageProcessor endpoint)
 39  
     {
 40  0
         super(message, eventGroup.getMessageCollectionEvent(), endpoint);
 41  0
         this.eventGroup = eventGroup;
 42  0
     }
 43  
 
 44  
     public AggregationException(Message message, EventGroup eventGroup, MessageProcessor endpoint,
 45  
         Throwable cause)
 46  
     {
 47  0
         super(message, eventGroup.getMessageCollectionEvent(), endpoint, cause);
 48  0
         this.eventGroup = eventGroup;
 49  0
     }
 50  
 
 51  
     public EventGroup getEventGroup()
 52  
     {
 53  0
         return eventGroup;
 54  
     }
 55  
 }