com.github.cloudyrock.dimmer.FeatureMetadataException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dimmer-core Show documentation
Show all versions of dimmer-core Show documentation
Lightweight library to manage feature toggling. Unlike others Dimmer doesn't work
in switch mode, black or white, It provides a flexible way to respond to disabled
features by adding customizable behaviours and pre-configured responses.
package com.github.cloudyrock.dimmer;
public final class FeatureMetadataException extends FeatureMetadata {
private final Class extends RuntimeException> exceptionType;
public FeatureMetadataException(String feature,
Class extends RuntimeException> exceptionType) {
super(feature);
this.exceptionType = exceptionType;
}
public Class extends RuntimeException> getException() {
return exceptionType;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy