org.flips.exception.FeatureNotEnabledException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of flips-core Show documentation
Show all versions of flips-core Show documentation
Flips Core framework, provides all the flip annotations, conditions and different advices
package org.flips.exception;
import org.flips.model.Feature;
import java.lang.reflect.Method;
public class FeatureNotEnabledException extends RuntimeException {
private Feature feature;
public FeatureNotEnabledException(String message, Method method) {
super(message);
this.feature = new Feature(method.getName(), method.getDeclaringClass().getName());
}
public Feature getFeature(){
return feature;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy