Class FeatureConfigException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cloud.opencode.base.core.exception.OpenException
cloud.opencode.base.feature.exception.FeatureException
cloud.opencode.base.feature.exception.FeatureConfigException
- All Implemented Interfaces:
OpenExceptionMeta, Serializable
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 Summary
ConstructorsConstructorDescriptionFeatureConfigException(String message) Create config exception with message 使用消息创建配置异常FeatureConfigException(String message, FeatureErrorCode errorCode) Create config exception with message and error code 使用消息和错误码创建配置异常FeatureConfigException(String message, Throwable cause) Create config exception with message and cause 使用消息和原因创建配置异常 -
Method Summary
Methods inherited from class FeatureException
getFeatureErrorCode, getFeatureKeyMethods inherited from class OpenException
getComponent, getErrorCode, getMessage, getRawMessageMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface OpenExceptionMeta
getMetaPrefix
-
Constructor Details
-
FeatureConfigException
Create config exception with message 使用消息创建配置异常- Parameters:
message- the error message | 错误消息
-
FeatureConfigException
Create config exception with message and error code 使用消息和错误码创建配置异常- Parameters:
message- the error message | 错误消息errorCode- the error code | 错误码
-
FeatureConfigException
-