Class FeatureStoreException
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.FeatureStoreException
- All Implemented Interfaces:
Serializable
Feature Store Exception
功能存储异常
Exception thrown for feature store errors.
功能存储错误时抛出的异常。
Examples | 示例:
- Persistence failed - 持久化失败
- Load failed - 加载失败
- Connection error - 连接错误
Features | 主要功能:
- Storage error reporting for feature persistence - 功能持久化的存储错误报告
- 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
ConstructorsConstructorDescriptionFeatureStoreException(String message) Create store exception with message 使用消息创建存储异常FeatureStoreException(String message, Throwable cause) Create store exception with message and cause 使用消息和原因创建存储异常FeatureStoreException(String message, Throwable cause, String featureKey, FeatureErrorCode errorCode) Create store exception with all parameters 使用所有参数创建存储异常 -
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, toString
-
Constructor Details
-
FeatureStoreException
Create store exception with message 使用消息创建存储异常- Parameters:
message- the error message | 错误消息
-
FeatureStoreException
-
FeatureStoreException
public FeatureStoreException(String message, Throwable cause, String featureKey, FeatureErrorCode errorCode) Create store exception with all parameters 使用所有参数创建存储异常- Parameters:
message- the error message | 错误消息cause- the cause | 原因featureKey- the feature key | 功能键errorCode- the error code | 错误码
-