Class DisabledFeatureException

All Implemented Interfaces:
Serializable

public class DisabledFeatureException extends RuntimeException
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 Details

    • DisabledFeatureException

      public DisabledFeatureException(Feature feature)
      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