Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Element getElement()
      Gets the element that is locked by other user
      java.lang.String getUser()
      Gets the user who has locked the element
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • 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 of ElementLockedByOtherException
        Parameters:
        element - the element that is locked by other user
        user - 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