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:
de.espirit.common.LocalizableError, Serializable

public class ReferenceNotFoundException extends AccessRuntimeException
Indicates that a required reference could not be found.
Since:
4.2.18
See Also:
  • Constructor Details

    • ReferenceNotFoundException

      public ReferenceNotFoundException()
  • Method Details

    • getSourceId

      public long getSourceId()
      Returns the id of the node which causes this ReferenceNotFoundExceptionbecause one of its references couldn't be found.
      Since:
      4.2.18
      See Also:
    • getSourceIdentifier

      public String getSourceIdentifier()
      Returns an identifier string (e.g. 'sourceElement (ID=1234)') of the source node which causes this ReferenceNotFoundExceptionbecause 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 this ReferenceNotFoundException had been thrown.
      Since:
      4.2.18