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

org.flips.exception.FeatureNotEnabledException Maven / Gradle / Ivy

Go to download

Flips Core framework, provides all the flip annotations, conditions and different advices

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