You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2005/10/08 12:10:08 UTC

svn commit: r307283 - /jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/MultiValueMap.java

Author: scolebourne
Date: Sat Oct  8 03:10:04 2005
New Revision: 307283

URL: http://svn.apache.org/viewcvs?rev=307283&view=rev
Log:
Enable compilation on JDK1.3

Modified:
    jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/MultiValueMap.java

Modified: jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/MultiValueMap.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/MultiValueMap.java?rev=307283&r1=307282&r2=307283&view=diff
==============================================================================
--- jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/MultiValueMap.java (original)
+++ jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/MultiValueMap.java Sat Oct  8 03:10:04 2005
@@ -24,6 +24,7 @@
 import java.util.Set;
 
 import org.apache.commons.collections.Factory;
+import org.apache.commons.collections.FunctorException;
 import org.apache.commons.collections.MultiMap;
 import org.apache.commons.collections.iterators.EmptyIterator;
 import org.apache.commons.collections.iterators.IteratorChain;
@@ -425,7 +426,7 @@
             try {
                 return clazz.newInstance();
             } catch (Exception ex) {
-                throw new RuntimeException("Cannot instantiate class: " + clazz, ex);
+                throw new FunctorException("Cannot instantiate class: " + clazz, ex);
             }
         }
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org