code: private static Object openURLinMacOS(final String url) throws ClassNotFoundException,
  		NoSuchMethodException, IllegalAccessException, InvocationTargetException
  	{
  		final Class<?> fileManagerClass = Class.forName(MAC_FILE_MANAGER);
  		final Method openURL = fileManagerClass.getDeclaredMethod("openURL",
  			new Class[] { String.class });
  		return openURL.invoke(null, new Object[] { url });
  	}
docs: Opens the given URL in mac os.
  
  @param url
  the url
  
  @return the object
  
  @throws ClassNotFoundException
  occurs if a given class cannot be located by the specified class loader
  @throws NoSuchMethodException
  is thrown if a matching method is not found
  @throws IllegalAccessException
  is thrown if this {@code Method} object is enforcing Java language access control
  and the underlying method is inaccessible
  @throws InvocationTargetException
  is thrown if the underlying method throws an exception.