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

io.magentys.exceptions.RequirementException Maven / Gradle / Ivy

There is a newer version: 1.0.7
Show newest version
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