
freak.core.modulesupport.IncompatibleModulePropertyException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of freak-core Show documentation
Show all versions of freak-core Show documentation
Core library of the Free Evolutionary Algorithm Toolkit
/*
* This file is part of FrEAK. For licensing and copyright information
* please see the file COPYING in the root directory of this
* distribution or contact .
*/
package freak.core.modulesupport;
/**
* Is thrown if a module is incompatible to the property of another module
* inside the current schedule.
*
* @author Dirk
*/
public class IncompatibleModulePropertyException extends IncompatibleModuleException {
private String property;
/**
* Constructs a new IncompatibleModuleException
without a
* detail message.
*/
public IncompatibleModulePropertyException(Module module, String property) {
super(module);
this.property = property;
}
/**
* Constructs a new IncompatibleModuleException
with the
* specified detail message.
*
* @param message the detail message.
*/
public IncompatibleModulePropertyException(Module module, String property, String message) {
super(module, message);
this.property = property;
}
/**
* @return the property inside the module that caused the exception.
*/
public String getProperty() {
return property;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy