Class FeatureNotFoundException

All Implemented Interfaces:
OpenExceptionMeta, Serializable

public class FeatureNotFoundException extends FeatureException
Feature Not Found Exception 功能不存在异常

Exception thrown when a feature is not found.

当功能不存在时抛出的异常。

Usage Examples | 使用示例:

throw new FeatureNotFoundException("unknown-feature");

Features | 主要功能:

  • Specific exception for missing feature lookups - 功能查找缺失的特定异常
  • Carries the missing feature name for diagnostics - 携带缺失功能名称用于诊断

Security | 安全性:

  • Thread-safe: Yes (immutable) - 线程安全: 是(不可变)
  • Null-safe: Partial (validates inputs) - 空值安全: 部分(验证输入)
Since:
JDK 25, opencode-base-feature V1.0.0
Author:
Leon Soo www.LeonSoo.com
See Also:
  • Constructor Details

    • FeatureNotFoundException

      public FeatureNotFoundException(String featureKey)
      Create exception for feature key 为功能键创建异常
      Parameters:
      featureKey - the feature key | 功能键