Enable compilation on JDK1.3
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@307283 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
93724da635
commit
f836ff09ee
|
@ -24,6 +24,7 @@ import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import org.apache.commons.collections.Factory;
|
import org.apache.commons.collections.Factory;
|
||||||
|
import org.apache.commons.collections.FunctorException;
|
||||||
import org.apache.commons.collections.MultiMap;
|
import org.apache.commons.collections.MultiMap;
|
||||||
import org.apache.commons.collections.iterators.EmptyIterator;
|
import org.apache.commons.collections.iterators.EmptyIterator;
|
||||||
import org.apache.commons.collections.iterators.IteratorChain;
|
import org.apache.commons.collections.iterators.IteratorChain;
|
||||||
|
@ -425,7 +426,7 @@ public class MultiValueMap extends AbstractMapDecorator implements MultiMap {
|
||||||
try {
|
try {
|
||||||
return clazz.newInstance();
|
return clazz.newInstance();
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
throw new RuntimeException("Cannot instantiate class: " + clazz, ex);
|
throw new FunctorException("Cannot instantiate class: " + clazz, ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue