code: public static Class simpleClassForName(String type, boolean logException)
      {
          Class returnClass = null;
          try
          {
              returnClass = classForName(type);
          }
          catch (ClassNotFoundException e)
          {
              if (logException)
              {
                  log.log(Level.SEVERE, "Class " + type + " not found", e);
                  throw new FacesException(e);
              }
          }
          return returnClass;
      }
docs: Same as {link {@link #simpleClassForName(String)}, but will only
  log the exception and rethrow a RunTimeException if logException is true.
  
  @param type
  @param logException - true to log/throw FacesException, false to avoid logging/throwing FacesException
  @return the corresponding Class
  @throws FacesException if class not found and logException is true