catch (IllegalAccessException ex) {} catch (InstantiationException ex) {} catch (ClassNotFoundException ex) {}
catch (Exception ex) {}
  private static ResourceBundle tryBundle(String localizedName,                                          ClassLoader classloader)	      {    ResourceBundle bundle = null;    try      {        Class rbClass;        if (classloader == null)          rbClass = Class.forName(localizedName);        else          rbClass = classloader.loadClass(localizedName);	// Note that we do the check up front instead of catching	// ClassCastException.  The reason for this is that some crazy	// programs (Eclipse) have classes that do not extend	// ResourceBundle but that have the same name as a property	// bundle; in fact Eclipse relies on ResourceBundle not	// instantiating these classes.	if (ResourceBundle.class.isAssignableFrom(rbClass))	  bundle = (ResourceBundle) rbClass.newInstance();      }    catch (IllegalAccessException ex) {}    catch (InstantiationException ex) {}    catch (ClassNotFoundException ex) {}    if (bundle == null)      {	try	  {	    InputStream is;	    String resourceName	      = localizedName.replace('.', '/') + ".properties";	    if (classloader == null)	      is = ClassLoader.getSystemResourceAsStream(resourceName);	    else	      is = classloader.getResourceAsStream(resourceName);	    if (is != null)	      bundle = new PropertyResourceBundle(is);	  }	catch (IOException ex)	  {	    MissingResourceException mre = new MissingResourceException	      ("Failed to load bundle: " + localizedName, localizedName, "");	    mre.initCause(ex);	    throw mre;	  }      }    return bundle;  }