Class EventStoreException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cloud.opencode.base.core.exception.OpenException
cloud.opencode.base.event.exception.EventException
cloud.opencode.base.event.exception.EventStoreException
- All Implemented Interfaces:
Serializable
Event Store Exception
事件存储异常
Exception thrown when event store operations fail.
事件存储操作失败时抛出的异常。
Examples | 示例:
- Event persistence failed - 事件持久化失败
- Event replay failed - 事件重放失败
- Store connection error - 存储连接错误
Features | 主要功能:
- Store operation error handling - 存储操作错误处理
- Persistence and replay errors - 持久化和重放错误
Security | 安全性:
- Thread-safe: Yes (stateless) - 线程安全: 是(无状态)
- Since:
- JDK 25, opencode-base-event V1.0.0
- Author:
- Leon Soo www.LeonSoo.com
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEventStoreException(String message) Create store exception with message 使用消息创建存储异常EventStoreException(String message, Throwable cause) Create store exception with message and cause 使用消息和原因创建存储异常EventStoreException(String message, Throwable cause, Event event, EventErrorCode errorCode) Create store exception with all parameters 使用所有参数创建存储异常 -
Method Summary
Methods inherited from class EventException
getEvent, getEventErrorCodeMethods 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
-
EventStoreException
Create store exception with message 使用消息创建存储异常- Parameters:
message- the error message | 错误消息
-
EventStoreException
-
EventStoreException
Create store exception with all parameters 使用所有参数创建存储异常- Parameters:
message- the error message | 错误消息cause- the cause | 原因event- the related event | 相关事件errorCode- the error code | 错误码
-