org.hibernate.search.query.engine

## Class QueryTimeoutException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - org.hibernate.search.exception.SearchException
        - - org.hibernate.search.query.engine.QueryTimeoutException

- All Implemented Interfaces:
    Serializable

      public class QueryTimeoutException
      extends SearchException

  Represent a timeout during a Fulltext search in the HSQuery. The object source integration should catch this and throw a relevant exception for the object source. For example in Hibernate Core, an `org.hibernate.QueryTimeoutException`.
  Author:
    Sanne Grinovero (C) 2011 Red Hat Inc., Emmanuel Bernard
  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static TimeoutExceptionFactory` | `DEFAULT_TIMEOUT_EXCEPTION_FACTORY`

  - ### Method Summary

    - ### 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`

- - ### Field Detail

    - #### DEFAULT_TIMEOUT_EXCEPTION_FACTORY

          public static final TimeoutExceptionFactory DEFAULT_TIMEOUT_EXCEPTION_FACTORY

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved