Class FeatureExpiredException
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.FeatureExpiredException
- All Implemented Interfaces:
OpenExceptionMeta, Serializable
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 Summary
ConstructorsConstructorDescriptionFeatureExpiredException(String featureKey) Create exception for expired feature 为过期功能创建异常 -
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
-
FeatureExpiredException
Create exception for expired feature 为过期功能创建异常- Parameters:
featureKey- the feature key | 功能键
-