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  
  * $Id: FilterUnacceptedException.java 20465 2010-12-05 18:14:15Z mike.schilling $
 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.api.routing.filter;
 12  
 
 13  
 import org.mule.api.MessagingException;
 14  
 import org.mule.api.MuleEvent;
 15  
 import org.mule.config.i18n.Message;
 16  
 import org.mule.processor.InternalProcessingException;
 17  
 
 18  
 
 19  
 public class FilterUnacceptedException extends MessagingException implements InternalProcessingException
 20  
 {
 21  
     private static final long serialVersionUID = -1828111078295716525L;
 22  
     
 23  
     private transient Filter filter;
 24  
 
 25  
     public FilterUnacceptedException(Message message, MuleEvent event, Filter filter)
 26  
     {
 27  0
         super(message, event);
 28  0
         this.filter = filter;
 29  0
         addInfo("Filter", filter.toString());
 30  0
     }
 31  
 
 32  
     public FilterUnacceptedException(Message message, MuleEvent event, Filter filter, Throwable cause)
 33  
     {
 34  0
         super(message, event, cause);
 35  0
         this.filter = filter;
 36  0
         addInfo("Filter", filter.toString());
 37  0
     }
 38  
 
 39  
     public FilterUnacceptedException(MuleEvent event, Filter filter, Throwable cause)
 40  
     {
 41  0
         super(event, cause);
 42  0
         this.filter = filter;
 43  0
         addInfo("Filter", (filter == null ? "null" : filter.toString()));
 44  0
     }
 45  
 
 46  
     public FilterUnacceptedException(Message message, MuleEvent event, Throwable cause)
 47  
     {
 48  0
         super(message, event, cause);
 49  0
     }
 50  
 
 51  
     public FilterUnacceptedException(Message message, MuleEvent event)
 52  
     {
 53  0
         super(message, event);
 54  0
     }
 55  
 
 56  
     public Filter getFilter()
 57  
     {
 58  0
         return filter;
 59  
     }
 60  
 }