code: private static void addFile(File f) throws IOException, SecurityException, 
    IllegalArgumentException, NoSuchMethodException, IllegalAccessException, 
    InvocationTargetException {
      addURL(f.toURI().toURL());
    }
docs: Attempts to add the given file object to the class loader
  @param f The JAR file object to load
  @throws IOException if the file does not exist or cannot be accessed
  @throws SecurityException if there is a security manager present and the
  operation is denied
  @throws IllegalArgumentException if the file was invalid
  @throws NoSuchMethodException if there is an error with the class loader
  @throws IllegalAccessException if a security manager is present and the
  operation was denied
  @throws InvocationTargetException if there is an issue loading the jar