Interface ContextAwareConflictExceptionSupplier<T>

Type Parameters:
T - The type of exception supplied
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ContextAwareConflictExceptionSupplier<T>
ConflictExceptionSupplier that is provided with more details of a version conflict.
Since:
3.2
Author:
Allard Buijze
  • Method Summary

    Modifier and Type
    Method
    Description
    supplyException(ConflictDescription conflictDescription)
    Creates an instance of an exception indicating a conflict described by the given conflictDescription.
  • Method Details

    • supplyException

      T supplyException(ConflictDescription conflictDescription)
      Creates an instance of an exception indicating a conflict described by the given conflictDescription.
      Parameters:
      conflictDescription - Describing details of the conflict detected
      Returns:
      the exception describing the conflict