
com.hltech.store.OptimisticLockingException Maven / Gradle / Ivy
package com.hltech.store;
import java.util.UUID;
public class OptimisticLockingException extends EventStoreException {
private static final String MESSAGE_TEMPLATE = "Could not save event to database with aggregateId %s, aggregateName %s and expectedVersion %s";
OptimisticLockingException(UUID aggregateId, String aggregateName, int expectedAggregateVesion) {
super(String.format(MESSAGE_TEMPLATE, aggregateId, aggregateName, expectedAggregateVesion));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy