commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r1520797 - /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/beanutils/BeanHelper.java
Date Sat, 07 Sep 2013 19:44:59 GMT
Author: oheger
Date: Sat Sep  7 19:44:58 2013
New Revision: 1520797

URL: http://svn.apache.org/r1520797
Log:
Removed throws declarations for runtime exceptions.

Modified:
    commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/beanutils/BeanHelper.java

Modified: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/beanutils/BeanHelper.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/beanutils/BeanHelper.java?rev=1520797&r1=1520796&r2=1520797&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/beanutils/BeanHelper.java
(original)
+++ commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/beanutils/BeanHelper.java
Sat Sep  7 19:44:58 2013
@@ -175,7 +175,6 @@ public final class BeanHelper
      * @throws ConfigurationRuntimeException if a property cannot be set
      */
     public void initBean(Object bean, BeanDeclaration data)
-            throws ConfigurationRuntimeException
     {
         initBeanProperties(bean, data);
 
@@ -251,7 +250,6 @@ public final class BeanHelper
      * @throws ConfigurationRuntimeException if a property cannot be set
      */
     public static void initBeanProperties(Object bean, BeanDeclaration data)
-            throws ConfigurationRuntimeException
     {
         Map<String, Object> properties = data.getBeanProperties();
         if (properties != null)
@@ -297,7 +295,6 @@ public final class BeanHelper
      * an error occurred
      */
     private static void initProperty(Object bean, String propName, Object value)
-            throws ConfigurationRuntimeException
     {
         if (!PropertyUtils.isWriteable(bean, propName))
         {
@@ -388,7 +385,7 @@ public final class BeanHelper
      * @throws ConfigurationRuntimeException if an error occurs
      */
     public Object createBean(BeanDeclaration data, Class<?> defaultClass,
-            Object param) throws ConfigurationRuntimeException
+            Object param)
     {
         if (data == null)
         {
@@ -420,7 +417,6 @@ public final class BeanHelper
      * @throws ConfigurationRuntimeException if an error occurs
      */
     public Object createBean(BeanDeclaration data, Class<?> defaultClass)
-            throws ConfigurationRuntimeException
     {
         return createBean(data, defaultClass, null);
     }
@@ -434,7 +430,6 @@ public final class BeanHelper
      * @throws ConfigurationRuntimeException if an error occurs
      */
     public Object createBean(BeanDeclaration data)
-            throws ConfigurationRuntimeException
     {
         return createBean(data, null);
     }
@@ -471,7 +466,6 @@ public final class BeanHelper
      */
     private static Class<?> fetchBeanClass(BeanDeclaration data,
             Class<?> defaultClass, BeanFactory factory)
-            throws ConfigurationRuntimeException
     {
         String clsName = data.getBeanClassName();
         if (clsName != null)
@@ -510,7 +504,6 @@ public final class BeanHelper
      * @throws ConfigurationRuntimeException if the factory cannot be determined
      */
     private BeanFactory fetchBeanFactory(BeanDeclaration data)
-            throws ConfigurationRuntimeException
     {
         String factoryName = data.getBeanFactoryName();
         if (factoryName != null)



Mime
View raw message