code: public ResourceBundle getResourceBundle(FacesContext ctx, String name) throws FacesException, NullPointerException
      {
          Application application = getMyfacesApplicationInstance(ctx);
          if (application != null)
          {
              return application.getResourceBundle(ctx, name);
          }
          throw new UnsupportedOperationException();
      }
docs: <p>
  Find a <code>ResourceBundle</code> as defined in the application configuration resources under the specified
  name. If a <code>ResourceBundle</code> was defined for the name, return an instance that uses the locale of the
  current <code>{@link javax.faces.component.UIViewRoot}</code>.
  </p>
  
  <p>
  The default implementation throws <code>UnsupportedOperationException</code> and is provided for the sole purpose
  of not breaking existing applications that extend this class.
  </p>
  
  @return <code>ResourceBundle</code> for the current UIViewRoot, otherwise null
  
  @throws FacesException
  if a bundle was defined, but not resolvable
  @throws NullPointerException
  if ctx == null || name == null