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_EXCEPTIONis used.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description SuggestionTimeoutException(String message, List<String> partialResult)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getPartialResult()- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Method Detail- 
getPartialResultpublic List<String> getPartialResult() - Returns:
- partial result calculated by Hunspell.suggest(java.lang.String)before the time limit was exceeded, ornullif there's none available
 
 
- 
 
-