Class ConcurrentWriteException

All Implemented Interfaces:
Serializable

public class ConcurrentWriteException extends ResourceRegistryException
The Class ConcurrentWriteException. Thrown when a write loses the race with another write on overlapping graph elements: the other one committed, this one changed nothing. The request can be repeated as it is. Mapped to 409 Conflict by the REST layer.
Author:
Luca Frosini (ISTI - CNR)
See Also:
  • Constructor Details

    • ConcurrentWriteException

      public ConcurrentWriteException(String message)
      Instantiates a new concurrent write exception.
      Parameters:
      message - the message
    • ConcurrentWriteException

      public ConcurrentWriteException(String message, Throwable cause)
      Instantiates a new concurrent write exception.
      Parameters:
      message - the message
      cause - the cause