Class LanguageNotAvailableException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.teamdev.jxbrowser.spellcheck.LanguageNotAvailableException
All Implemented Interfaces:
Serializable

public final class LanguageNotAvailableException extends RuntimeException
Thrown when Chromium fails to configure the spellchecker fails to initialize the spelling dictionary for a language.
Since:
7.27
See Also:
  • Constructor Details

    • LanguageNotAvailableException

      public LanguageNotAvailableException(Language language)
      Constructs a LanguageNotAvailableException with the language for which the dictionary is not available.
      Parameters:
      language - the language for which Chromium failed to load the dictionary
  • Method Details

    • language

      public Language language()
      Returns the language for which the dictionary is not available.
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable