commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject svn commit: r307283 - /jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/MultiValueMap.java
Date Sat, 08 Oct 2005 10:10:08 GMT
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


Mime
View raw message