T - The type of exception created@FunctionalInterface public interface ConflictExceptionSupplier<T extends Exception>
| Modifier and Type | Method and Description | 
|---|---|
T | 
supplyException(String aggregateIdentifier,
               long expectedVersion,
               long actualVersion)
Creates an instance of an exception indicating a conflict in an aggregate with given  
aggregateIdentifier,
 the given expectedVersion and actualVersion. | 
T supplyException(String aggregateIdentifier, long expectedVersion, long actualVersion)
aggregateIdentifier,
 the given expectedVersion and actualVersion.aggregateIdentifier - The identifier of the conflicting aggregateexpectedVersion - The expected version of the aggregateactualVersion - The actual version of the aggregateCopyright © 2010–2018. All rights reserved.