注意:在未来的几个月内,我们将会重新整理 App Engine 文档网站,使得查找内容更轻松,并更好地与其他 Google Cloud 产品保持一致。将会提供相同的内容,但导航现在将与其余的 Cloud 产品相一致。 如果您在浏览网站时有疑问或者希望提交反馈,请点击“发送反馈”。

QueryTreeException(适用于 Java 的 Google App Engine API)

使用集合让一切井井有条 根据您的偏好保存内容并对其进行分类。
com.google.appengine.api.search.query

QueryTreeException 类

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • java.lang.RuntimeException
          • com.google.appengine.api.search.query.QueryTreeException
  • 所有实现的接口:
    java.io.Serializable


    public class QueryTreeException
    extends java.lang.RuntimeException
    当解析查询生成的树在某种意义上无效时抛出的解析异常。
    另请参阅:
    序列化表单
    • 构造函数摘要

      构造函数 
      构造函数和说明
      QueryTreeException(java.lang.String message, int position) 
    • 方法摘要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法和说明
      int getPosition() 
      • 继承自 java.lang.Throwable 类的方法

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • 从 java.lang.Object 类继承的方法

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 构造函数详细信息

      • QueryTreeException

        public QueryTreeException(java.lang.String message,
                                  int position)
    • 方法详细信息

      • getPosition

        public int getPosition()
        返回
        检测到错误的位置