Checkstyle clean up about 200 trivial violation
[yangtools.git] / common / util / src / main / java / org / opendaylight / yangtools / util / concurrent / ReflectiveExceptionMapper.java
index d49f80662d674f366a2645730bdd9638f1860e97..b00ed4f30472227496464bae1ac1aea60da44e9d 100644 (file)
@@ -45,7 +45,8 @@ public final class ReflectiveExceptionMapper<X extends Exception> extends Except
      * @throws IllegalArgumentException when the supplied exception class does not pass sanity checks
      * @throws SecurityException when the required constructor is not accessible
      */
-    public static <X extends Exception> ReflectiveExceptionMapper<X> create(final String opName, final Class<X> exceptionType) throws SecurityException {
+    public static <X extends Exception> ReflectiveExceptionMapper<X> create(final String opName,
+            final Class<X> exceptionType) throws SecurityException {
         final Constructor<X> c;
         try {
             c = exceptionType.getConstructor(String.class, Throwable.class);
@@ -55,7 +56,8 @@ public final class ReflectiveExceptionMapper<X extends Exception> extends Except
 
         try {
             c.newInstance(opName, new Throwable());
-        } catch (InstantiationException | IllegalAccessException | IllegalArgumentException | InvocationTargetException e) {
+        } catch (InstantiationException | IllegalAccessException | IllegalArgumentException
+                | InvocationTargetException e) {
             throw new IllegalArgumentException("Constructor " + c.getName() + " failed to pass instantiation test", e);
         }