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
-
-
Field Summary
Fields Modifier and Type Field Description private Element
element
private static long
serialVersionUID
private java.lang.String
user
-
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
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
element
private final Element element
-
user
private final java.lang.String user
-
-
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
-
-