Changeset 3052
- Timestamp:
- Jan 9, 2007, 9:12:06 AM (17 years ago)
- Location:
- trunk/src/core/net/sf/basedb
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/core/net/sf/basedb/core/PluginDefinition.java
r3050 r3052 39 39 import net.sf.basedb.util.JarClassLoader; 40 40 41 import java.io.IOException; 41 42 import java.util.Collection; 42 43 import java.util.Collections; … … 969 970 return (Plugin)c.newInstance(); 970 971 } 972 catch (IOException ioex) 973 { 974 throw new BaseException(ioex); 975 } 971 976 catch (Exception ex) 972 977 { -
trunk/src/core/net/sf/basedb/util/JarClassLoader.java
r2723 r3052 141 141 super(Thread.currentThread().getContextClassLoader()); 142 142 mainJarFile = new File(jarPath); 143 if (!mainJarFile.exists()) throw new IOException("Couldn't find jar-file: \"" + jarPath + "\""); 143 144 classPath = new HashMap<String, File>(); 144 145 loadJarFile(mainJarFile, true); … … 210 211 JarEntry jarEntry = entries.nextElement(); 211 212 String name = jarEntry.getName(); 212 //System.out.println(name);213 213 214 if (!classPath.containsKey(name)) 214 215 {
Note: See TracChangeset
for help on using the changeset viewer.