Commit a499dfb2 authored by Luc Everse's avatar Luc Everse

Handle unresolved recursive dependencies

parent 7774d30a
Pipeline #26 passed with stage
in 44 seconds
......@@ -114,13 +114,15 @@ public class DependencyResolver implements IDependencyResolver {
return obj;
} catch (final InstantiationException ex) {
logger.debug("Can't instantiate the {}: not an instantiable class",
type.getCanonicalName(), ex);
} catch (final IllegalAccessException ex) {
logger.debug("Can't instantiate the {}: class, constructor or field inaccessible",
type.getCanonicalName(), ex);
} catch (final InvocationTargetException ex) {
logger.debug("Can't instantiate the {}: exception in constructor: ",
type.getCanonicalName(), ex);
} catch (final UnresolvableDependencyException ex) {
// Recursive construction failed. Already logged, try the next
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment