Class ElementLockedByOtherException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.nomagic.magicdraw.esi.refactor.move.ElementLockedByOtherException
-
- All Implemented Interfaces:
java.io.Serializable
@OpenApiAll public class ElementLockedByOtherException extends java.lang.Exception
Indicates that an element is locked by other user- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ElementLockedByOtherException(Element element, java.lang.String user)
Creates new instance ofElementLockedByOtherException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Element
getElement()
Gets the element that is locked by other userjava.lang.String
getUser()
Gets the user who has locked the element
-
-
-
Constructor Detail
-
ElementLockedByOtherException
public ElementLockedByOtherException(Element element, java.lang.String user)
Creates new instance ofElementLockedByOtherException
- Parameters:
element
- the element that is locked by other useruser
- the user who has locked the element
-
-
Method Detail
-
getElement
public Element getElement()
Gets the element that is locked by other user- Returns:
- the element
-
getUser
public java.lang.String getUser()
Gets the user who has locked the element- Returns:
- the user
-
-