Class FeatureSecurityException
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.FeatureSecurityException
- All Implemented Interfaces:
Serializable
Feature Security Exception
功能安全异常
Exception thrown for feature security errors.
功能安全错误时抛出的异常。
Examples | 示例:
- Unauthorized operation - 未授权操作
- Audit logging failed - 审计日志失败
- Security violation - 安全违规
Features | 主要功能:
- Security violation reporting for feature access control - 功能访问控制的安全违规报告
- Supports error codes for categorized security errors - 支持分类安全错误的错误代码
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
ConstructorsConstructorDescriptionFeatureSecurityException(String message) Create security exception with message 使用消息创建安全异常FeatureSecurityException(String message, FeatureErrorCode errorCode) Create security exception with message and error code 使用消息和错误码创建安全异常FeatureSecurityException(String message, Throwable cause) Create security 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, toString
-
Constructor Details
-
FeatureSecurityException
Create security exception with message 使用消息创建安全异常- Parameters:
message- the error message | 错误消息
-
FeatureSecurityException
Create security exception with message and error code 使用消息和错误码创建安全异常- Parameters:
message- the error message | 错误消息errorCode- the error code | 错误码
-
FeatureSecurityException
-