From: Lars Küh. <lk...@us...> - 2008-08-17 11:13:12
|
Update of /cvsroot/clirr/clirr/core/src/java/net/sf/clirr/core/internal In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv29671/core/src/java/net/sf/clirr/core/internal Modified Files: ClassLoaderUtil.java Removed Files: ExceptionUtil.java Log Message: Dropped support for JDK 1.3. The API now uses chained exceptions. Index: ClassLoaderUtil.java =================================================================== RCS file: /cvsroot/clirr/clirr/core/src/java/net/sf/clirr/core/internal/ClassLoaderUtil.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- ClassLoaderUtil.java 17 Aug 2008 10:58:51 -0000 1.3 +++ ClassLoaderUtil.java 17 Aug 2008 11:13:08 -0000 1.4 @@ -35,11 +35,8 @@ } catch (MalformedURLException ex) { - final IllegalArgumentException illegalArgEx = - new IllegalArgumentException( - "Cannot create classLoader from classpath entry " + entry); - ExceptionUtil.initCause(illegalArgEx, ex); - throw illegalArgEx; + throw new IllegalArgumentException( + "Cannot create classLoader from classpath entry " + entry, ex); } } final URLClassLoader classPathLoader = new URLClassLoader(cpUrls); |