Package com.vaadin.experimental
Class DisabledFeatureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.vaadin.experimental.DisabledFeatureException
- All Implemented Interfaces:
Serializable
Exception thrown when attempting to use a feature controlled by a feature
flag that is not enabled at runtime.
This exception is thrown when code attempts to use experimental functionality that requires an explicit opt-in via the FeatureFlags system. To resolve this exception, ensure the corresponding feature is enabled before using the functionality.
For internal use only. May be renamed or removed in a future release.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDisabledFeatureException
(Feature feature) Constructs an exception for when an attempt is made to use a feature that is disabled. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DisabledFeatureException
Constructs an exception for when an attempt is made to use a feature that is disabled.- Parameters:
feature
- the disabled feature that was attempted to be used
-