Class MissingKeyException

  • All Implemented Interfaces:
    java.io.Serializable

    public class MissingKeyException
    extends InvalidDataException
    Exception thrown when the entityType has no valid key defined Will result in HttpStatus 400
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      MissingKeyException​(java.lang.String entityType)
      Constructor to create MissingKeyException
    • 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

      • MissingKeyException

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