X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=restconf%2Frestconf-nb-bierman02%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fnetconf%2Fsal%2Frestconf%2Fimpl%2FJSONRestconfServiceImpl.java;h=1f5b5744e0de44381fedadb3a4ebb6db88f305db;hb=86e8b0bb2c9e0f10f7d679cf70495c3d4249e547;hp=ec7b33dc09bf8e6f12e0fd296969282ee6e5b4e4;hpb=ab99fd44ddf84e474491005ea2db7e4282ad3966;p=netconf.git diff --git a/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/restconf/impl/JSONRestconfServiceImpl.java b/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/restconf/impl/JSONRestconfServiceImpl.java index ec7b33dc09..1f5b5744e0 100644 --- a/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/restconf/impl/JSONRestconfServiceImpl.java +++ b/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/restconf/impl/JSONRestconfServiceImpl.java @@ -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"); }