EventOutOfOrderException

class EventOutOfOrderException(aggregateType: AggregateType, aggregateId: String, eventType: KClass<*>, expectedEventOrder: Long, actualEventOrder: Long) : RuntimeException

Exception that can be thrown in case an Event is received out of order for a View/dk.cloudcreate.essentials.components.eventsourced.eventstore.postgresql.processor.EventProcessor/etc.

Constructors

Link copied to clipboard
constructor(aggregateType: AggregateType, aggregateId: String, eventType: KClass<*>, expectedEventOrder: Long, actualEventOrder: Long)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?