Class OConcurrentModificationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.orientechnologies.common.exception.OException
com.orientechnologies.orient.core.exception.OCoreException
com.orientechnologies.common.concur.ONeedRetryException
com.orientechnologies.orient.core.exception.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 Summary
ConstructorsModifierConstructorDescriptionOConcurrentModificationException(ORID iRID, int iDatabaseVersion, int iRecordVersion, int iRecordOperation) protectedOConcurrentModificationException(String message) -
Method Summary
Methods inherited from class com.orientechnologies.orient.core.exception.OCoreException
getComponentName, getDbName, getMessageMethods inherited from class com.orientechnologies.common.exception.OException
wrapExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
OConcurrentModificationException
-
OConcurrentModificationException
-
OConcurrentModificationException
public OConcurrentModificationException(ORID iRID, int iDatabaseVersion, int iRecordVersion, int iRecordOperation)
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getEnhancedDatabaseVersion
public int getEnhancedDatabaseVersion() -
getEnhancedRecordVersion
public int getEnhancedRecordVersion() -
getRid
-
getErrorCode
- Overrides:
getErrorCodein classOCoreException
-