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

cucumber.runtime.TooManyInstancesException Maven / Gradle / Ivy

There is a newer version: 7.18.0
Show newest version
package cucumber.runtime;

import java.util.Collection;

public class TooManyInstancesException extends CucumberException {

    public TooManyInstancesException(Collection instances) {
        super(createMessage(instances));
    }

    private static String createMessage(Collection instances) {
        return String.format("Expected only one instance, but found too many: " + instances);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy