Package com.teamdev.jxbrowser.spellcheck
Class LanguageNotAvailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.teamdev.jxbrowser.spellcheck.LanguageNotAvailableException
- All Implemented Interfaces:
Serializable
Thrown when Chromium fails to configure the spellchecker fails to initialize the spelling
dictionary for a language.
- Since:
- 7.27
- See Also:
-
Constructor Summary
ConstructorDescriptionLanguageNotAvailableException
(Language language) Constructs aLanguageNotAvailableException
with thelanguage
for which the dictionary is not available. -
Method Summary
Modifier and TypeMethodDescriptionlanguage()
Returns the language for which the dictionary is not available.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LanguageNotAvailableException
Constructs aLanguageNotAvailableException
with thelanguage
for which the dictionary is not available.- Parameters:
language
- the language for which Chromium failed to load the dictionary
-
-
Method Details
-
language
Returns the language for which the dictionary is not available. -
getMessage
- Overrides:
getMessage
in classThrowable
-