Package org.apache.camel.component.bean
Class AmbiguousMethodCallException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.camel.RuntimeCamelException
org.apache.camel.RuntimeExchangeException
org.apache.camel.component.bean.AmbiguousMethodCallException
- All Implemented Interfaces:
Serializable
public class AmbiguousMethodCallException
extends org.apache.camel.RuntimeExchangeException
An exception thrown if an attempted method invocation resulted in an ambiguous method such that multiple methods
match the inbound message exchange
- See Also:
-
Constructor Summary
ConstructorDescriptionAmbiguousMethodCallException
(org.apache.camel.Exchange exchange, Collection<MethodInfo> methods) -
Method Summary
Modifier and TypeMethodDescriptionThe ambiguous methods for which a single method could not be chosenMethods inherited from class org.apache.camel.RuntimeExchangeException
createMessage, getExchange
Methods inherited from class org.apache.camel.RuntimeCamelException
wrapRuntimeCamelException, wrapRuntimeException
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AmbiguousMethodCallException
public AmbiguousMethodCallException(org.apache.camel.Exchange exchange, Collection<MethodInfo> methods)
-
-
Method Details
-
getMethods
The ambiguous methods for which a single method could not be chosen
-