UndeclaredEventException

constructor(type: AggregateType, command: Class<*>, event: Class<*>, message: String)