Class BeanCreationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.juneau.commons.inject.BeanCreationException
All Implemented Interfaces:
Serializable

Unchecked exception thrown when a bean creator method is found but its invocation fails.

Thrown by BeanStore.createBeanFromMethod(Class, Object, java.util.function.Predicate, Object[]) when a matching factory method is located but throws an exception during invocation. Wrapping in an unchecked type makes the exception compatible with Optional chaining and lambda contexts.

See Also:
See Also: