Class AmbiguousMethodCallException

  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:

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

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
createExceptionMessage, 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


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


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

Apache Camel