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 fil
(File f)
| 256 | * @throws InvocationTargetException if there is an issue loading the jar |
| 257 | */ |
| 258 | private static void addFile(File f) throws IOException, SecurityException, |
| 259 | IllegalArgumentException, NoSuchMethodException, IllegalAccessException, |
| 260 | InvocationTargetException { |
| 261 | addURL(f.toURI().toURL()); |
| 262 | } |
| 263 | |
| 264 | /** |
| 265 | * Attempts to add the given file/URL to the class loader |