All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.cookingfox.chefling.api.exception.ConfigurationConflictException Maven / Gradle / Ivy

Go to download

Chefling is a very minimal dependency injection container written in pure Java.

There is a newer version: 7.1.1
Show newest version
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