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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturns theidof the node which causes thisReferenceNotFoundExceptionbecause one of its references couldn't be found.@NotNull StringReturns an identifier string (e.g.longReturns the id of the target of the reference which couldn't be found and therefore thisReferenceNotFoundExceptionhad 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 theidof the node which causes thisReferenceNotFoundExceptionbecause 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 thisReferenceNotFoundExceptionbecause 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 thisReferenceNotFoundExceptionhad been thrown.- Since:
- 4.2.18
-