Changeset 766 for trunk/quest-plugin-core/src/main
- Timestamp:
- 09/04/12 17:15:28 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-plugin-core/src/main/java/de/ugoe/cs/quest/plugin/PluginLoader.java
r582 r766 11 11 import java.net.URL; 12 12 import java.net.URLClassLoader; 13 import java.security.InvalidParameterException;14 13 import java.util.Collection; 15 14 import java.util.Collections; … … 52 51 * handle of the directory; in case the handle is 53 52 * <code>null</code> or does not describe a directory, an 54 * {@link I nvalidParameterException} is thrown53 * {@link IllegalArgumentException} is thrown 55 54 */ 56 55 public PluginLoader(File pluginDir) { 57 56 if (pluginDir == null) { 58 throw new I nvalidParameterException(57 throw new IllegalArgumentException( 59 58 "Parameter pluginDir must not be null!"); 60 59 } 61 60 if (!pluginDir.isDirectory()) { 62 throw new I nvalidParameterException("File " + pluginDir.getPath()61 throw new IllegalArgumentException("File " + pluginDir.getPath() 63 62 + " is not a directory"); 64 63 }
Note: See TracChangeset
for help on using the changeset viewer.