diff options
| -rw-r--r-- | qpid/java/common/src/main/java/org/apache/qpid/util/ReflectionUtils.java | 20 |
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);
}
}
}
|
