Coverage Report - org.mule.api.routing.filter.FilterUnacceptedException
 
Classes in this File Line Coverage Branch Coverage Complexity
FilterUnacceptedException
0%
0/17
0%
0/2
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.api.routing.filter;
 8  
 
 9  
 import org.mule.api.MessagingException;
 10  
 import org.mule.api.MuleEvent;
 11  
 import org.mule.config.i18n.Message;
 12  
 
 13  
 
 14  
 public class FilterUnacceptedException extends MessagingException
 15  
 {
 16  
     private static final long serialVersionUID = -1828111078295716525L;
 17  
     
 18  
     private transient Filter filter;
 19  
 
 20  
     public FilterUnacceptedException(Message message, MuleEvent event, Filter filter)
 21  
     {
 22  0
         super(message, event);
 23  0
         this.filter = filter;
 24  0
         addInfo("Filter", filter.toString());
 25  0
     }
 26  
 
 27  
     public FilterUnacceptedException(Message message, MuleEvent event, Filter filter, Throwable cause)
 28  
     {
 29  0
         super(message, event, cause);
 30  0
         this.filter = filter;
 31  0
         addInfo("Filter", filter.toString());
 32  0
     }
 33  
 
 34  
     public FilterUnacceptedException(MuleEvent event, Filter filter, Throwable cause)
 35  
     {
 36  0
         super(event, cause);
 37  0
         this.filter = filter;
 38  0
         addInfo("Filter", (filter == null ? "null" : filter.toString()));
 39  0
     }
 40  
 
 41  
     public FilterUnacceptedException(Message message, MuleEvent event, Throwable cause)
 42  
     {
 43  0
         super(message, event, cause);
 44  0
     }
 45  
 
 46  
     public FilterUnacceptedException(Message message, MuleEvent event)
 47  
     {
 48  0
         super(message, event);
 49  0
     }
 50  
 
 51  
     public Filter getFilter()
 52  
     {
 53  0
         return filter;
 54  
     }
 55  
 }