public static final XSLTErrorResources loadResourceBundle(String className) throws MissingResourceException {
  Locale locale=Locale.getDefault();
  String suffix=getResourceSuffix(locale);
  try {
    return (XSLTErrorResources)ResourceBundle.getBundle(className + suffix,locale);
  }
 catch (  MissingResourceException e) {
    try {
      return (XSLTErrorResources)ResourceBundle.getBundle(className,new Locale("en","US"));
    }
 catch (    MissingResourceException e2) {
      throw new MissingResourceException("Could not load any resource bundles.",className,"");
    }
  }
}

public static final XSLTErrorResources loadResourceBundle ( String className ) throws MissingResourceException { Locale locale = Locale . getDefault ( ) ; String suffix = getResourceSuffix ( locale ) ; try { return ( XSLTErrorResources ) ResourceBundle . getBundle ( className + suffix , locale ) ; } catch ( MissingResourceException e ) { try { return ( XSLTErrorResources ) ResourceBundle . getBundle ( className , new Locale ( "en" , "US" ) ) ; } catch ( MissingResourceException e2 ) { throw new MissingResourceException ( "Could not load any resource bundles." , className , "" ) ; } } }
return a named resourcebundle for a particular locale . this method mimics the behavior of resourcebundle . getbundle ( ) .
