Class NoSuchBeanTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.camel.RuntimeCamelException
org.apache.camel.NoSuchBeanException
org.apache.camel.NoSuchBeanTypeException
- All Implemented Interfaces:
Serializable
A runtime exception if a given bean type could not be found in the
Registry- Since:
- 4.2
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNoSuchBeanTypeException(Class<?> type) NoSuchBeanTypeException(Class<?> type, int size) -
Method Summary
Methods inherited from class NoSuchBeanException
getNameMethods inherited from class RuntimeCamelException
wrapRuntimeCamelException, wrapRuntimeExceptionMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NoSuchBeanTypeException
- Parameters:
type- the expected type that could not be found in the registry
-
NoSuchBeanTypeException
- Parameters:
type- the expected type that could not be uniquely resolved in the registrysize- the number of beans found with that type
-