record.setThrown (exception);
Logging.log(IndexedResourceBundle.class, methodName, record);
final MissingResourceException error = new MissingResourceException(
Exceptions.getLocalizedMessage(exception, locale), // For users, use requested locale.
baseName, key);
error.initCause(exception);
throw error;
}
/*
* Now, logs the message. This message is provided only in English.
* Note that Locale.getDisplayName() may return different string on