
io.magentys.exceptions.RequirementException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cherry Show documentation
Show all versions of cherry Show documentation
A syntactical sugar project for BDD oriented tests
package io.magentys.exceptions;
/**
* Created by kostasmamalis on 08/04/16.
*/
public class RequirementException extends RuntimeException {
public RequirementException(final String message) {
super(message);
}
public RequirementException(final Class clazz){
super(String.format("Tool of type: \"%s\" not found in agent's toolset... Use agent.obtains() method to assign tools to agent.",
clazz.toString()));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy