* @param value The value that we failed to parse.
* @param type The target type of the parsing process.
* @param cause The exception that occurred during the parsing process.
*/
static void parseFailure(final Context context, final String value, final Class<?> type, final Exception cause) {
final Messages resources = Messages.getResources(context != null ? context.getLocale() : null);
final LogRecord record = resources.getLogRecord(Level.WARNING, Messages.Keys.UnparsableValueStoredAsText_2, type, value);
record.setSourceClassName(IdentifierMap.class.getCanonicalName());
record.setSourceMethodName("put");
record.setThrown(cause);
Context.warningOccured(context, record);
}