Class OConcurrentModificationException

All Implemented Interfaces:
OHighLevelException, Serializable

public class OConcurrentModificationException extends ONeedRetryException implements OHighLevelException
Exception thrown when MVCC is enabled and a record cannot be updated or deleted because versions don't match.
Author:
Luca Garulli (l.garulli--(at)--orientdb.com)
See Also:
  • Constructor Details

    • OConcurrentModificationException

      public OConcurrentModificationException(OConcurrentModificationException exception)
    • OConcurrentModificationException

      protected OConcurrentModificationException(String message)
    • OConcurrentModificationException

      public OConcurrentModificationException(ORID iRID, int iDatabaseVersion, int iRecordVersion, int iRecordOperation)
  • Method Details

    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getEnhancedDatabaseVersion

      public int getEnhancedDatabaseVersion()
    • getEnhancedRecordVersion

      public int getEnhancedRecordVersion()
    • getRid

      public ORID getRid()
    • getErrorCode

      public OErrorCode getErrorCode()
      Overrides:
      getErrorCode in class OCoreException