Package org.omegat.core.data
Class IProject.OptimisticLockingFail
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.omegat.core.data.IProject.OptimisticLockingFail
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing interface:
- IProject
public static class IProject.OptimisticLockingFail extends java.lang.Exception
Exception for optimistic locking fail. Used when segment changed remotely or by automatic translation, but user also changed data.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OptimisticLockingFail(java.lang.String oldTranslationText, java.lang.String newTranslationText, IProject.AllTranslations previous)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getNewTranslationText()
java.lang.String
getOldTranslationText()
IProject.AllTranslations
getPrevious()
-
-
-
Constructor Detail
-
OptimisticLockingFail
public OptimisticLockingFail(java.lang.String oldTranslationText, java.lang.String newTranslationText, IProject.AllTranslations previous)
-
-
Method Detail
-
getOldTranslationText
public java.lang.String getOldTranslationText()
-
getNewTranslationText
public java.lang.String getNewTranslationText()
-
getPrevious
public IProject.AllTranslations getPrevious()
-
-