Interface ConcurrentModificationError

All Superinterfaces:
ErrorObject
All Known Implementing Classes:
ConcurrentModificationErrorImpl

public interface ConcurrentModificationError extends ErrorObject

The request conflicts with the current state of the involved resources. This error typically occurs when the request attempts to modify a resource that is out of date, that is, it has been modified by another client since the last time it was retrieved by the system attempting to update it. The client application should resolve the conflict (with or without involving the end-user) before retrying the request.


Example to create an instance using the builder pattern

     ConcurrentModificationError concurrentModificationError = ConcurrentModificationError.builder()
             .message("{message}")
             .currentVersion(1)
             .build()