Reduce sonar code smells
[yangtools.git] / common / util / src / main / java / org / opendaylight / yangtools / util / ClassLoaderUtils.java
index 1625504cf733365eb6e37d2ecc4899990d633832..232a54ded9c8804e42a106d26fe3246025f674c1 100644 (file)
@@ -164,7 +164,7 @@ public final class ClassLoaderUtils {
 
     // FIXME: 3.0.0: Remove or improve this to be an explicit cast to a receiver <T>?
     public static Object construct(final Constructor<?> constructor, final List<Object> objects)
-            throws InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException {
+            throws InstantiationException, IllegalAccessException, InvocationTargetException {
         final Object[] initargs = objects.toArray();
         return constructor.newInstance(initargs);
     }