Class SuggestionTimeoutException

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<java.lang.String> partialResult  
    • Constructor Summary

      Constructors 
      Constructor Description
      SuggestionTimeoutException​(java.lang.String message, java.util.List<java.lang.String> partialResult)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getPartialResult()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • partialResult

        private final java.util.List<java.lang.String> partialResult
    • Constructor Detail

      • SuggestionTimeoutException

        public SuggestionTimeoutException​(java.lang.String message,
                                          java.util.List<java.lang.String> partialResult)
    • Method Detail

      • getPartialResult

        public java.util.List<java.lang.String> getPartialResult()
        Returns:
        partial result calculated by Hunspell.suggest(java.lang.String) before the time limit was exceeded, or null if there's none available