org.hibernate.search.exception.EmptyQueryException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-search-engine Show documentation
Show all versions of hibernate-search-engine Show documentation
Core of the Object/Lucene mapper, query engine and index management
/*
* Hibernate Search, full-text search for your domain model
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later
* See the lgpl.txt file in the root directory or .
*/
package org.hibernate.search.exception;
/**
* 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 org.hibernate.search.util.AnalyzerUtils
*/
public class EmptyQueryException extends SearchException {
public EmptyQueryException() {
super();
}
public EmptyQueryException(String message) {
super( message );
}
public EmptyQueryException(String message, Throwable cause) {
super( message, cause );
}
public EmptyQueryException(Throwable cause) {
super( cause );
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy