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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AmbiguousMethodCallException(org.apache.camel.Exchange exchange, Collection<MethodInfo> methods)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<MethodInfo>
getMethods()
The ambiguous methods for which a single method could not be chosen-
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 Detail
-
AmbiguousMethodCallException
public AmbiguousMethodCallException(org.apache.camel.Exchange exchange, Collection<MethodInfo> methods)
-
-
Method Detail
-
getMethods
public Collection<MethodInfo> getMethods()
The ambiguous methods for which a single method could not be chosen
-
-