public class ElementMovedException extends CheckedException
IDProvider.moveChild(IDProvider)
if the object which should be movedis already moved on the server.Constructor and Description |
---|
ElementMovedException() |
Modifier and Type | Method and Description |
---|---|
String |
getErrorCode()
Return the error code for the exception.
|
long |
getMovedElementId()
Returns the id of the element which should be moved and which causes this exception
|
long |
getNewParentId()
Returns the id of the new parent of the moved element
|
getContext, getLocalizedMessage, isInfoOnly, setErrorCode
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public String getErrorCode()
CheckedException
getErrorCode
in interface de.espirit.common.LocalizableError
getErrorCode
in class CheckedException
CheckedException.setErrorCode(String errorCode)
public long getNewParentId()
public long getMovedElementId()
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210