Class MissingNavigationPropertyException

  • All Implemented Interfaces:
    java.io.Serializable

    public class MissingNavigationPropertyException
    extends MissingDataException
    Exception to thrown when a required navigationProperty does not already exist. Will result in HttpStatus 400
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class org.apache.olingo.odata2.api.exception.ODataRuntimeApplicationException

        getCode, getHttpStatus, getLocale
      • 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

      • MissingNavigationPropertyException

        public MissingNavigationPropertyException​(java.lang.String entityType,
                                                  java.lang.String propertyName)
        Constructor to create MissingNavigationPropertyException
        Parameters:
        entityType - entity type
        propertyName - the name of the property
      • MissingNavigationPropertyException

        public MissingNavigationPropertyException​(java.lang.String entityType)
        Constructor to create MissingNavigationPropertyException
        Parameters:
        entityType - entity type