Class ElementMovedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
de.espirit.common.CheckedException
de.espirit.firstspirit.access.store.ElementMovedException
All Implemented Interfaces:
de.espirit.common.LocalizableError, Serializable

public class ElementMovedException extends CheckedException
This exception will be thrown during call of IDProvider.moveChild(IDProvider) if the object which should be movedis already moved on the server.
Since:
4.0.21
See Also:
  • Constructor Details

    • ElementMovedException

      public ElementMovedException()
  • Method Details

    • getErrorCode

      public String getErrorCode()
      Description copied from class: CheckedException
      Return the error code for the exception.
      Specified by:
      getErrorCode in interface de.espirit.common.LocalizableError
      Overrides:
      getErrorCode in class CheckedException
      Returns:
      The error code for the exception
      Since:
      4.0.21
      See Also:
    • getNewParentId

      public long getNewParentId()
      Returns the id of the new parent of the moved element
      Since:
      4.0.21
    • getMovedElementId

      public long getMovedElementId()
      Returns the id of the element which should be moved and which causes this exception
      Since:
      4.0.21