Class RedisOutboxStorageException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aim2be.platform.outbox.redis.RedisOutboxStorageException
All Implemented Interfaces:
Serializable

public class RedisOutboxStorageException extends RuntimeException
Unchecked exception for unrecoverable Redis-outbox storage failures — a failed JSON (de)serialisation, an unexpected null EVAL result, or an unrecognised script return value.

These signal a programming or configuration error (a corrupt Hash value, a wrong script result type), NOT a transient broker/network failure — the latter is handled by the relay's circuit-breaker + the poller's retry/backoff. The SPI methods are allowed to throw a RuntimeException; the relay + poller catch broadly so a single bad entry never aborts a batch (matching the PG publisher's swallow-with-log discipline).

See Also:
  • Constructor Details

    • RedisOutboxStorageException

      public RedisOutboxStorageException(String message)
      Parameters:
      message - human-readable failure description
    • RedisOutboxStorageException

      public RedisOutboxStorageException(String message, Throwable cause)
      Parameters:
      message - human-readable failure description
      cause - the underlying cause