Package de.espirit.firstspirit.access
Class ReferenceNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.espirit.common.UncheckedException
de.espirit.firstspirit.access.AccessRuntimeException
de.espirit.firstspirit.access.ReferenceNotFoundException
- All Implemented Interfaces:
LocalizableError
,Serializable
Indicates that a required reference could not be found.
- Since:
- 4.2.18
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns theid
of the node which causes thisReferenceNotFoundException
because one of its references couldn't be found.Returns an identifier string (e.g.long
Returns the id of the target of the reference which couldn't be found and therefore thisReferenceNotFoundException
had been thrown.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ReferenceNotFoundException
public ReferenceNotFoundException()
-
-
Method Details
-
getSourceId
public long getSourceId()Returns theid
of the node which causes thisReferenceNotFoundException
because one of its references couldn't be found.- Since:
- 4.2.18
- See Also:
-
getSourceIdentifier
Returns an identifier string (e.g. 'sourceElement (ID=1234)') of the source node which causes thisReferenceNotFoundException
because one of its references couldn't be found.- Since:
- 4.2.18
-
getTargetId
public long getTargetId()Returns the id of the target of the reference which couldn't be found and therefore thisReferenceNotFoundException
had been thrown.- Since:
- 4.2.18
-