Language () { Language language = Language.findLanguageByID(hostLanguage); if (language == null) { throw new PluginException("Cannot find language '" + hostLanguage + "'", getPluginDescriptor().getPluginId()); } return language; }