DuplicateAggregateIdException

constructor(eventStream: DomainEventStream, errorMsg: String = "Duplicate ", cause: Throwable? = null)

Parameters

eventStream

the domain event stream that caused the duplicate

errorMsg

the error message (default: duplicate aggregate ID message)

cause

the underlying cause of the exception