Class ItemNotFoundForKeyReferencedItemPropertyException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    ItemNotFoundForKeyNavigationPropertyException

    public class ItemNotFoundForKeyReferencedItemPropertyException
    extends java.lang.RuntimeException
    Exception indicating that an item referenced in the payload property does not exist in the persistent storage.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getEntityTypeName()  
      java.lang.String getPropertyName()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ItemNotFoundForKeyReferencedItemPropertyException

        public ItemNotFoundForKeyReferencedItemPropertyException​(TypeDescriptor itemType,
                                                                 java.lang.String propertyName)
        Instantiates this exception with the provided item type and reference property name in that type, which cannot resolve to an item existing in the persistent storage.
        Parameters:
        itemType - type of the item containing a missing referenced item
        propertyName - name of the property referencing an item that is not found in the persistent storage
      • ItemNotFoundForKeyReferencedItemPropertyException

        public ItemNotFoundForKeyReferencedItemPropertyException​(java.lang.String type,
                                                                 java.lang.String property)
        Constructor to create ItemNotFoundForKeyReferencedItemPropertyException
        Parameters:
        type - code of the item type in the integration object that references a missing item
        property - name of the property referencing an item that is not found in the persistent storage
    • Method Detail

      • getPropertyName

        public java.lang.String getPropertyName()
      • getEntityTypeName

        public java.lang.String getEntityTypeName()