Class SuggestionTimeoutException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.lucene.analysis.hunspell.SuggestionTimeoutException
-
- All Implemented Interfaces:
Serializable
public class SuggestionTimeoutException extends RuntimeException
An exception thrown whenHunspell.suggest(java.lang.String)
call takes too long, ifTimeoutPolicy.THROW_EXCEPTION
is used.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getPartialResult()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getPartialResult
public List<String> getPartialResult()
- Returns:
- partial result calculated by
Hunspell.suggest(java.lang.String)
before the time limit was exceeded
-
-