Class ElementLockedByOtherException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.nomagic.magicdraw.esi.refactor.move.ElementLockedByOtherException
All Implemented Interfaces:
Serializable

@OpenApiAll public class ElementLockedByOtherException extends Exception
Indicates that an element is locked by other user
See Also:
  • Constructor Details

    • ElementLockedByOtherException

      public ElementLockedByOtherException(Element element, String user)
      Creates new instance of ElementLockedByOtherException
      Parameters:
      element - the element that is locked by other user
      user - the user who has locked the element
  • Method Details

    • getElement

      public Element getElement()
      Gets the element that is locked by other user
      Returns:
      the element
    • getUser

      public String getUser()
      Gets the user who has locked the element
      Returns:
      the user