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
ConstructorsConstructorDescriptionLanguageNotAvailableException(Language language) Constructs aLanguageNotAvailableExceptionwith thelanguagefor 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 aLanguageNotAvailableExceptionwith thelanguagefor 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:
getMessagein classThrowable
-