Class SuggestionTimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.lucene.analysis.hunspell.SuggestionTimeoutException
- All Implemented Interfaces:
Serializable
An exception thrown when
Hunspell.suggest(java.lang.String)
call takes too long, if TimeoutPolicy.THROW_EXCEPTION
is used.- See Also:
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getPartialResult
- Returns:
- partial result calculated by
Hunspell.suggest(java.lang.String)
before the time limit was exceeded
-