org.hibernate.search.errors
Class EmptyQueryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.hibernate.search.SearchException
org.hibernate.search.errors.EmptyQueryException
- All Implemented Interfaces:
- Serializable
public class EmptyQueryException
- extends SearchException
This Exception is thrown when an empty TermQuery (keyword query) is created,
or if any string query only returns whitespace after applying Analyzers.
Applications should validate user input before running such a Query;
- Author:
- Sanne Grinovero (C) 2012 Red Hat Inc.
- See Also:
AnalyzerUtils
,
Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
EmptyQueryException
public EmptyQueryException()
EmptyQueryException
public EmptyQueryException(String message)
EmptyQueryException
public EmptyQueryException(String message,
Throwable cause)
EmptyQueryException
public EmptyQueryException(Throwable cause)
Copyright © 2006-2013 Red Hat Middleware, LLC. All Rights Reserved