throws LanguageException {
String value = null;
Logger.debug(LanguageUtil.class, key);
try {
MessageResources resources = (MessageResources)WebAppPool.get(
companyId, Globals.MESSAGES_KEY);
if (resources != null)
value = resources.getMessage(locale, key);
}
catch (Exception e) {
throw new LanguageException(e);
}