Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getNewTranslationText()  
      java.lang.String getOldTranslationText()  
      IProject.AllTranslations getPrevious()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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()