org.hibernate.search.query.engine
Class QueryTimeoutException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.hibernate.search.SearchException
                  extended by 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 QueryTimeoutException.

Author:
Sanne Grinovero (C) 2011 Red Hat Inc., Emmanuel Bernard
See Also:
Serialized Form

Field Summary
static TimeoutExceptionFactory DEFAULT_TIMEOUT_EXCEPTION_FACTORY
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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-2012 Red Hat Middleware, LLC. All Rights Reserved