
com.cookingfox.chefling.api.exception.CircularDependencyDetectedException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chefling-di-java Show documentation
Show all versions of chefling-di-java Show documentation
Chefling is a very minimal dependency injection container written in pure Java.
package com.cookingfox.chefling.api.exception;
/**
* Thrown when a circular dependency is detected, e.g. A depends on B, B depends on A.
*/
public class CircularDependencyDetectedException extends ContainerException {
public CircularDependencyDetectedException(StringBuilder dependencies) {
super("Circular dependency detected:\n" + dependencies.toString());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy