reverted test
[phpeclipse.git] / net.sourceforge.phpeclipse.launching / src / net / sourceforge / phpdt / internal / launching / PHPLaunchingMessages.java
1 package net.sourceforge.phpdt.internal.launching;
2
3 import java.util.MissingResourceException;
4 import java.util.ResourceBundle;
5
6 public class PHPLaunchingMessages {
7
8         private static final String BUNDLE_NAME = PHPLaunchingMessages.class
9                         .getName();
10
11         private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle
12                         .getBundle(BUNDLE_NAME);
13
14         private PHPLaunchingMessages() {
15         }
16
17         public static String getString(String key) {
18                 try {
19                         return RESOURCE_BUNDLE.getString(key);
20                 } catch (MissingResourceException e) {
21                         return '!' + key + '!';
22                 }
23         }
24 }