Author: rgreig
Date: Mon Mar 19 05:55:39 2007
New Revision: 519933
URL: http://svn.apache.org/viewvc?view=rev&rev=519933
Log:
Correction to exception type thrown.
Modified:
incubator/qpid/branches/M2/java/common/src/main/java/org/apache/qpid/util/ReflectionUtils.java
Modified:
incubator/qpid/branches/M2/java/common/src/main/java/org/apache/qpid/util/ReflectionUtils.java
URL:
http://svn.apache.org/viewvc/incubator/qpid/branches/M2/java/common/src/main/java/org/apache/qpid/util/ReflectionUtils.java?view=diff&rev=519933&r1=519932&r2=519933
==============================================================================
---
incubator/qpid/branches/M2/java/common/src/main/java/org/apache/qpid/util/ReflectionUtils.java
(original)
+++
incubator/qpid/branches/M2/java/common/src/main/java/org/apache/qpid/util/ReflectionUtils.java
Mon Mar 19 05:55:39 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);
}
}
}