geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r430159 - in /geronimo/xbean/trunk: xbean-spring-v1/src/main/java/org/apache/xbean/spring/context/v1/XBeanXmlBeanDefinitionParser.java xbean-spring-v2/src/main/java/org/apache/xbean/spring/context/v2/XBeanNamespaceHandler.java
Date Wed, 09 Aug 2006 22:09:27 GMT
Author: chirino
Date: Wed Aug  9 15:09:27 2006
New Revision: 430159

URL: http://svn.apache.org/viewvc?rev=430159&view=rev
Log:
bug fix: A java 5 dependency had snuck in with patch from http://issues.apache.org/jira/browse/XBEAN-36


Modified:
    geronimo/xbean/trunk/xbean-spring-v1/src/main/java/org/apache/xbean/spring/context/v1/XBeanXmlBeanDefinitionParser.java
    geronimo/xbean/trunk/xbean-spring-v2/src/main/java/org/apache/xbean/spring/context/v2/XBeanNamespaceHandler.java

Modified: geronimo/xbean/trunk/xbean-spring-v1/src/main/java/org/apache/xbean/spring/context/v1/XBeanXmlBeanDefinitionParser.java
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring-v1/src/main/java/org/apache/xbean/spring/context/v1/XBeanXmlBeanDefinitionParser.java?rev=430159&r1=430158&r2=430159&view=diff
==============================================================================
--- geronimo/xbean/trunk/xbean-spring-v1/src/main/java/org/apache/xbean/spring/context/v1/XBeanXmlBeanDefinitionParser.java
(original)
+++ geronimo/xbean/trunk/xbean-spring-v1/src/main/java/org/apache/xbean/spring/context/v1/XBeanXmlBeanDefinitionParser.java
Wed Aug  9 15:09:27 2006
@@ -360,7 +360,7 @@
     	try {
     		return (PropertyEditor)cl.loadClass(propertyEditor).newInstance();
     	} catch (Throwable e){
-    		throw new IllegalArgumentException("Could not load property editor: "+propertyEditor,
e);
+    		throw (IllegalArgumentException)new IllegalArgumentException("Could not load property
editor: "+propertyEditor).initCause(e);
     	}
 	}
 

Modified: geronimo/xbean/trunk/xbean-spring-v2/src/main/java/org/apache/xbean/spring/context/v2/XBeanNamespaceHandler.java
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring-v2/src/main/java/org/apache/xbean/spring/context/v2/XBeanNamespaceHandler.java?rev=430159&r1=430158&r2=430159&view=diff
==============================================================================
--- geronimo/xbean/trunk/xbean-spring-v2/src/main/java/org/apache/xbean/spring/context/v2/XBeanNamespaceHandler.java
(original)
+++ geronimo/xbean/trunk/xbean-spring-v2/src/main/java/org/apache/xbean/spring/context/v2/XBeanNamespaceHandler.java
Wed Aug  9 15:09:27 2006
@@ -436,7 +436,7 @@
     	try {
     		return (PropertyEditor)cl.loadClass(propertyEditor).newInstance();
     	} catch (Throwable e){
-    		throw new IllegalArgumentException("Could not load property editor: "+propertyEditor,
e);
+    		throw (IllegalArgumentException)new IllegalArgumentException("Could not load property
editor: "+propertyEditor).initCause(e);
     	}
 	}
 



Mime
View raw message