
com.cookingfox.chefling.api.exception.ConfigurationConflictException 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 container's configuration (instances / mappings) intersects with the container it
* is being added to.
*/
public class ConfigurationConflictException extends ContainerException {
public ConfigurationConflictException(Class type) {
super(String.format("The CheflingContainer you are trying to add / set has a mapping or instance " +
"for a type that is also present in the current CheflingContainer (%s)", type.getName()));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy