summaryrefslogtreecommitdiff
path: root/qpid
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
commitdd42e2aaa19b0d0a8dac5b3511dbfa60772ed8de (patch)
tree489e340649a2b0d9cf0c6328299c20d87992dc48 /qpid
parent2794677387ce1ae11960f8c611a264f34302447e (diff)
downloadqpid-python-dd42e2aaa19b0d0a8dac5b3511dbfa60772ed8de.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@519938 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid')
-rw-r--r--qpid/java/common/src/main/java/org/apache/qpid/util/ReflectionUtils.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/qpid/java/common/src/main/java/org/apache/qpid/util/ReflectionUtils.java b/qpid/java/common/src/main/java/org/apache/qpid/util/ReflectionUtils.java
index 724f504474..495918911a 100644
--- a/qpid/java/common/src/main/java/org/apache/qpid/util/ReflectionUtils.java
+++ b/qpid/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);
}
}
}