summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Greig <rgreig@apache.org>2007-03-19 13:11:41 +0000
committerRobert Greig <rgreig@apache.org>2007-03-19 13:11:41 +0000
commit0bfe742e641214b72136fd6ebe38f03fc8ce03fe (patch)
tree1be1ad9e89cd5f370d1c80062638e07910b3acee
parent68bb8b44a88815a7f1fd71e83fa8f895c23ffec7 (diff)
downloadqpid-python-0bfe742e641214b72136fd6ebe38f03fc8ce03fe.tar.gz
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. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@519938 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--java/common/src/main/java/org/apache/qpid/util/ReflectionUtils.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/java/common/src/main/java/org/apache/qpid/util/ReflectionUtils.java b/java/common/src/main/java/org/apache/qpid/util/ReflectionUtils.java
index 724f504474..495918911a 100644
--- a/java/common/src/main/java/org/apache/qpid/util/ReflectionUtils.java
+++ b/java/common/src/main/java/org/apache/qpid/util/ReflectionUtils.java
@@ -119,15 +119,15 @@ public class ReflectionUtils
}
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 @@ public class ReflectionUtils
}
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 @@ public class ReflectionUtils
}
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 @@ public class ReflectionUtils
}
catch (NoSuchMethodException e)
{
- throw new RuntimeException(e);
+ throw new ReflectionUtilsException("NoSuchMethodException", e);
}
}
}