Author: rgreig
Date: Mon Mar 19 06:11:41 2007
New Revision: 519938

URL: http://svn.apache.org/viewvc?view=rev&rev=519938
Log:
Merged revisions 519933 via svnmerge from 
https://svn.apache.org/repos/asf/incubator/qpid/branches/M2

........
  r519933 | rgreig | 2007-03-19 12:55:39 +0000 (Mon, 19 Mar 2007) | 1 line
  
  Correction to exception type thrown.
........

Modified:
    incubator/qpid/trunk/qpid/   (props changed)
    
incubator/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/util/ReflectionUtils.java

Propchange: incubator/qpid/trunk/qpid/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Mon Mar 19 06:11:41 2007
@@ -1 +1 @@
-/incubator/qpid/branches/M2:0-519912 
/incubator/qpid/branches/qpid.0-9:1-492620,496593,497277,500305,501022
+/incubator/qpid/branches/M2:0-519912,519933 
/incubator/qpid/branches/qpid.0-9:1-492620,496593,497277,500305,501022

Modified: 
incubator/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/util/ReflectionUtils.java
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/util/ReflectionUtils.java?view=diff&rev=519938&r1=519937&r2=519938
==============================================================================
--- 
incubator/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/util/ReflectionUtils.java
 (original)
+++ 
incubator/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/util/ReflectionUtils.java
 Mon Mar 19 06:11:41 2007
@@ -119,15 +119,15 @@
         }
         catch (NoSuchMethodException e)
         {
-            throw new RuntimeException(e);
+            throw new ReflectionUtilsException("NoSuchMethodException.", e);
         }
         catch (IllegalAccessException e)
         {
-            throw new RuntimeException(e);
+            throw new ReflectionUtilsException("IllegalAccessException.", e);
         }
         catch (InvocationTargetException e)
         {
-            throw new RuntimeException(e);
+            throw new ReflectionUtilsException("InvocationTargetException", e);
         }
     }
 
@@ -163,15 +163,15 @@
         }
         catch (NoSuchMethodException e)
         {
-            throw new RuntimeException(e);
+            throw new ReflectionUtilsException("NoSuchMethodException.", e);
         }
         catch (IllegalAccessException e)
         {
-            throw new RuntimeException(e);
+            throw new ReflectionUtilsException("IllegalAccessException", e);
         }
         catch (InvocationTargetException e)
         {
-            throw new RuntimeException(e);
+            throw new ReflectionUtilsException("InvocationTargetException", e);
         }
     }
 
@@ -192,15 +192,15 @@
         }
         catch (InstantiationException e)
         {
-            throw new RuntimeException(e);
+            throw new ReflectionUtilsException("InstantiationException", e);
         }
         catch (IllegalAccessException e)
         {
-            throw new RuntimeException(e);
+            throw new ReflectionUtilsException("IllegalAccessException", e);
         }
         catch (InvocationTargetException e)
         {
-            throw new RuntimeException(e);
+            throw new ReflectionUtilsException("InvocationTargetException", e);
         }
     }
 
@@ -222,7 +222,7 @@
         }
         catch (NoSuchMethodException e)
         {
-            throw new RuntimeException(e);
+            throw new ReflectionUtilsException("NoSuchMethodException", e);
         }
     }
 }


Reply via email to