funkman 2004/09/01 08:02:34 Modified: catalina/src/share/org/apache/catalina/loader Tag: TOMCAT_5_0 StandardClassLoader.java Log: Output the name of the repository if it failed to load. (I borked one of my jars one day and had to open each one to discover one was bad) Revision Changes Path No revision No revision 1.13.2.1 +7 -6 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/loader/StandardClassLoader.java Index: StandardClassLoader.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/loader/StandardClassLoader.java,v retrieving revision 1.13 retrieving revision 1.13.2.1 diff -u -r1.13 -r1.13.2.1 --- StandardClassLoader.java 26 May 2004 15:47:34 -0000 1.13 +++ StandardClassLoader.java 1 Sep 2004 15:02:34 -0000 1.13.2.1 @@ -1,12 +1,12 @@ /* * Copyright 1999,2004 The Apache Software Foundation. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -394,7 +394,7 @@ /** * Return a String array of the current repositories for this class * loader. If there are no repositories, a zero-length array is - * returned. For security reason, returns a clone of the Array (since + * returned. For security reason, returns a clone of the Array (since * String are immutable). */ public String[] findRepositories() { @@ -955,7 +955,8 @@ } } catch (Throwable t) { IllegalArgumentException iae = new IllegalArgumentException - ("addRepositoryInternal"); + ("addRepositoryInternal: repository='" + + repository + "'"); jdkCompat.chainException(iae, t); throw iae; } finally {
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]