Fix findbugs violations in restconf-nb-bierman02
[netconf.git] / restconf / restconf-nb-bierman02 / src / main / java / org / opendaylight / netconf / sal / restconf / impl / JSONRestconfServiceImpl.java
index ec7b33dc09bf8e6f12e0fd296969282ee6e5b4e4..1f5b5744e0de44381fedadb3a4ebb6db88f305db 100644 (file)
@@ -162,7 +162,7 @@ public class JSONRestconfServiceImpl implements JSONRestconfService, AutoCloseab
             if (outputContext.getData() != null) {
                 output = toJson(outputContext);
             }
-        } catch (final Exception e) {
+        } catch (final RuntimeException | IOException e) {
             propagateExceptionAs(uriPath, e, "RPC");
         }