org.apache.camel.component.bean
Class AmbiguousMethodCallException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.camel.CamelException
              extended by org.apache.camel.CamelExchangeException
                  extended by org.apache.camel.component.bean.AmbiguousMethodCallException
All Implemented Interfaces:
Serializable

public class AmbiguousMethodCallException
extends CamelExchangeException

An exception thrown if an attempted method invocation resulted in an ambiguous method such that multiple methods match the inbound message exchange

Version:
$Revision: 16343 $
See Also:
Serialized Form

Constructor Summary
AmbiguousMethodCallException(Exchange exchange, Collection<MethodInfo> methods)
           
 
Method Summary
 Collection<MethodInfo> getMethods()
          The ambiguous methods for which a single method could not be chosen
 
Methods inherited from class org.apache.camel.CamelExchangeException
getExchange
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AmbiguousMethodCallException

public AmbiguousMethodCallException(Exchange exchange,
                                    Collection<MethodInfo> methods)
Method Detail

getMethods

public Collection<MethodInfo> getMethods()
The ambiguous methods for which a single method could not be chosen



Apache CAMEL