Class FeatureExpiredException

All Implemented Interfaces:
OpenExceptionMeta, Serializable

public class FeatureExpiredException extends FeatureException
Feature Expired Exception 功能过期异常

Exception thrown when a feature has expired.

当功能已过期时抛出的异常。

Usage Examples | 使用示例:

throw new FeatureExpiredException("my-feature");

Features | 主要功能:

  • Specific exception for expired features - 过期功能的特定异常
  • Carries the expired feature key for diagnostics - 携带过期功能键用于诊断

Security | 安全性:

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

    • FeatureExpiredException

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