buildChained

Returns a chain of components of type I using a corresponding factory or throws an IllegalStateException in case no factory was found which is able to build a chain of components of the given type.

Throws

in case ComponentFactoryContainer.buildChainedOrNull returns null because no suitable factory was found.

in case one of factories returns an illegal type.