Checkstyle clean up about 200 trivial violation
[yangtools.git] / common / util / src / main / java / org / opendaylight / yangtools / util / concurrent / ReflectiveExceptionMapper.java
index 3eb8c13369a18e8b96a88476c27c84f86f8c8f63..b00ed4f30472227496464bae1ac1aea60da44e9d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014 Robert Varga.  All rights reserved.
+ * Copyright (c) 2014 Robert Varga. and others.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -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);
         }