Class FeatureConfigException

All Implemented Interfaces:
Serializable

public class FeatureConfigException extends FeatureException
Feature Config Exception 功能配置异常

Exception thrown for feature configuration errors.

功能配置错误时抛出的异常。

Examples | 示例:

  • Invalid strategy configuration - 无效的策略配置
  • Invalid context - 无效的上下文
  • Missing required fields - 缺少必需字段

Features | 主要功能:

  • Configuration error reporting for feature management - 功能管理的配置错误报告
  • Extends FeatureException with error codes - 使用错误代码扩展FeatureException

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

    • FeatureConfigException

      public FeatureConfigException(String message)
      Create config exception with message 使用消息创建配置异常
      Parameters:
      message - the error message | 错误消息
    • FeatureConfigException

      public FeatureConfigException(String message, FeatureErrorCode errorCode)
      Create config exception with message and error code 使用消息和错误码创建配置异常
      Parameters:
      message - the error message | 错误消息
      errorCode - the error code | 错误码
    • FeatureConfigException

      public FeatureConfigException(String message, Throwable cause)
      Create config exception with message and cause 使用消息和原因创建配置异常
      Parameters:
      message - the error message | 错误消息
      cause - the cause | 原因