Class ElementLockAcquisitionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.nomagic.magicdraw.teamwork2.locks.ElementLockAcquisitionException
All Implemented Interfaces:
Serializable

@OpenApiAll public class ElementLockAcquisitionException extends Exception
An exception that is thrown to signal that a required element could not be locked
See Also:
  • Constructor Details

    • ElementLockAcquisitionException

      public ElementLockAcquisitionException(Element element)
      Creates new instance of ElementLockAcquisitionException
      Parameters:
      element - the element that could not be locked
  • Method Details

    • getElement

      public Element getElement()
      Gets the element that could not be locked
      Returns:
      the element