Class EventStoreException

All Implemented Interfaces:
OpenExceptionMeta, Serializable

public class EventStoreException extends EventException
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 Details

    • EventStoreException

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

      public EventStoreException(String message, Throwable cause)
      Create store exception with message and cause 使用消息和原因创建存储异常
      Parameters:
      message - the error message | 错误消息
      cause - the cause | 原因
    • EventStoreException

      public EventStoreException(String message, Throwable cause, Event event, EventErrorCode errorCode)
      Create store exception with all parameters 使用所有参数创建存储异常
      Parameters:
      message - the error message | 错误消息
      cause - the cause | 原因
      event - the related event | 相关事件
      errorCode - the error code | 错误码