/* * JBoss, Home of Professional Open Source. * * See the LEGAL.txt file distributed with this work for information regarding copyright ownership and licensing. * * See the AUTHORS.txt file distributed with this work for a full listing of individual contributors. */ package org.teiid.designer.modelgenerator.salesforce.connection.impl; import java.util.MissingResourceException; import java.util.ResourceBundle; /** * @since 8.0 */ public class Messages { private static final String PACKAGE_ID = Messages.class.getPackage().getName(); private static final String I18N_NAME = PACKAGE_ID + ".messages"; //$NON-NLS-1$ private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle .getBundle(I18N_NAME); private Messages() { } public static String getString(String key) { try { return RESOURCE_BUNDLE.getString(key); } catch (MissingResourceException e) { return '!' + key + '!'; } } }