DatastoreNeedIndexException (Google App Engine API for Java)

Class DatastoreNeedIndexException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • java.lang.RuntimeException
  • All Implemented Interfaces:

    public class DatastoreNeedIndexException
    extends java.lang.RuntimeException
    DatastoreNeedIndexException is thrown when no matching index was found for a query requiring an index. Check the Indexes page in the Admin Console and your datastore-indexes.xml file.
    See Also:
    Serialized Form
    • Method Summary

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

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

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

      • DatastoreNeedIndexException

        public DatastoreNeedIndexException(java.lang.String message)
      • DatastoreNeedIndexException

        public DatastoreNeedIndexException(java.lang.String message,
                                           java.lang.Throwable cause)
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        getMessage in class java.lang.Throwable
      • getMissingIndexDefinitionXml

        public java.lang.String getMissingIndexDefinitionXml()
        The xml defining the missing index. Can be null.

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

App Engine standard environment for Java