
io.magentys.exceptions.NotAvailableException 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;
/**
* Not Available Exception for tools and memory entries
*/
public class NotAvailableException extends RuntimeException {
/**
* Main Contructor
* @param message
*/
public NotAvailableException(final String message) {
super(message);
}
/**
* Not available Memory entry for class
* @param clazz
*/
public NotAvailableException(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