Class ElementMovedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.espirit.common.CheckedException
de.espirit.firstspirit.access.store.ElementMovedException
- All Implemented Interfaces:
LocalizableError
,Serializable
This exception will be thrown during call of
IDProvider.moveChild(IDProvider)
if the object which should be moved
is already moved on the server.- Since:
- 4.0.21
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the error code for the exception.long
Returns the id of the element which should be moved and which causes this exceptionlong
Returns the id of the new parent of the moved elementMethods inherited from class de.espirit.common.CheckedException
getContext, getLocalizedMessage, setErrorCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ElementMovedException
public ElementMovedException()
-
-
Method Details
-
getErrorCode
Description copied from class:CheckedException
Return the error code for the exception.- Overrides:
getErrorCode
in classCheckedException
- 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
-