1 package net.sourceforge.phpdt.sql;
3 import java.util.MissingResourceException;
4 import java.util.ResourceBundle;
6 public class Messages {
8 private static final String BUNDLE_NAME = "net.sourceforge.phpdt.sql.PHPEclipseSQLResources"; //$NON-NLS-1$
10 private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME);
15 public static String getString(String key) {
17 return RESOURCE_BUNDLE.getString(key);
18 } catch (MissingResourceException e) {
19 return '!' + key + '!';