toothpick.configuration.MultipleRootException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of toothpick-runtime Show documentation
Show all versions of toothpick-runtime Show documentation
'Main Toothpick implementation'
package toothpick.configuration;
import toothpick.Scope;
public class MultipleRootException extends RuntimeException {
public MultipleRootException(Scope scope) {
super(String.format("Scope %s is a new root in TP scope forest. Only one root is allowed in this configuration.", scope.getName()));
}
}