Class ElementLockedByOtherException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.nomagic.magicdraw.esi.refactor.move.ElementLockedByOtherException
- All Implemented Interfaces:
Serializable
Indicates that an element is locked by other user
- See Also:
-
Constructor Summary
ConstructorDescriptionElementLockedByOtherException
(Element element, String user) Creates new instance ofElementLockedByOtherException
-
Method Summary
Modifier and TypeMethodDescriptionGets the element that is locked by other usergetUser()
Gets the user who has locked the elementMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ElementLockedByOtherException
Creates new instance ofElementLockedByOtherException
- Parameters:
element
- the element that is locked by other useruser
- the user who has locked the element
-
-
Method Details
-
getElement
Gets the element that is locked by other user- Returns:
- the element
-
getUser
Gets the user who has locked the element- Returns:
- the user
-