Coverage Report - org.mule.impl.TooManySatisfiableMethodsException
 
Classes in this File Line Coverage Branch Coverage Complexity
TooManySatisfiableMethodsException
17%
2/12
N/A
1
 
 1  
 /*
 2  
  * $Id: TooManySatisfiableMethodsException.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.impl;
 12  
 
 13  
 import org.mule.config.i18n.CoreMessages;
 14  
 import org.mule.umo.UMOException;
 15  
 
 16  
 import java.util.List;
 17  
 
 18  
 /**
 19  
  * <code>TooManySatisfiableMethodsException</code> is thrown by EntryPointResolvers
 20  
  * when the component passed has more than one method that meets the criteria of the
 21  
  * configured EntryPointResolver.
 22  
  * 
 23  
  * @see org.mule.umo.model.UMOEntryPointResolver
 24  
  */
 25  
 public class TooManySatisfiableMethodsException extends UMOException
 26  
 {
 27  
     /**
 28  
      * Serial version
 29  
      */
 30  
     private static final long serialVersionUID = 7856775581858822364L;
 31  
 
 32  
     /**
 33  
      * @param component
 34  
      */
 35  
     public TooManySatisfiableMethodsException(Object component, List types)
 36  
     {
 37  4
         super(CoreMessages.tooManyAcceptableMethodsOnObjectForTypes(component, types));
 38  4
     }
 39  
 
 40  
     public TooManySatisfiableMethodsException(Object component, List types, Exception cause)
 41  
     {
 42  0
         super(CoreMessages.tooManyAcceptableMethodsOnObjectForTypes(component, types), cause);
 43  0
     }
 44  
 
 45  
     public TooManySatisfiableMethodsException(Object component, Object[] types)
 46  
     {
 47  0
         super(CoreMessages.tooManyAcceptableMethodsOnObjectForTypes(component, types));
 48  0
     }
 49  
 
 50  
     public TooManySatisfiableMethodsException(Object component, Object[] types, Exception cause)
 51  
     {
 52  0
         super(CoreMessages.tooManyAcceptableMethodsOnObjectForTypes(component, types), cause);
 53  0
     }
 54  
 
 55  
     public TooManySatisfiableMethodsException(Object component, Class returnType)
 56  
     {
 57  0
         super(CoreMessages.tooManyMatchingMethodsOnObjectWhichReturn(component, returnType));
 58  0
     }
 59  
 
 60  
     public TooManySatisfiableMethodsException(Object component, Class returnType, Exception cause)
 61  
     {
 62  0
         super(CoreMessages.tooManyMatchingMethodsOnObjectWhichReturn(component, returnType), cause);
 63  0
     }
 64  
 }