Class FeatureStoreException

All Implemented Interfaces:
OpenExceptionMeta, Serializable

public class FeatureStoreException extends FeatureException
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 Details

    • FeatureStoreException

      public FeatureStoreException(String message)
      Create store exception with message 使用消息创建存储异常
      Parameters:
      message - the error message | 错误消息
    • FeatureStoreException

      public FeatureStoreException(String message, Throwable cause)
      Create store exception with message and cause 使用消息和原因创建存储异常
      Parameters:
      message - the error message | 错误消息
      cause - the cause | 原因
    • 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 | 错误码