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

cucumber.runtime.DuplicateStepDefinitionException Maven / Gradle / Ivy

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

public class DuplicateStepDefinitionException extends CucumberException {
    public DuplicateStepDefinitionException(StepDefinition a, StepDefinition b) {
        super(createMessage(a, b));
    }

    private static String createMessage(StepDefinition a, StepDefinition b) {
        return String.format("Duplicate step definitions in %s and %s", a.getLocation(), b.getLocation());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy