Bug 3015 - netconf: Un-helpful error message presented when no service 77/23277/3
authorJan Hajnar <jhajnar@cisco.com>
Thu, 25 Jun 2015 14:43:26 +0000 (16:43 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 25 Jan 2016 16:49:27 +0000 (16:49 +0000)
commit6c307c16a48781dfc1623b75afb31635760f8395
tree94ef606b133b0de77fc0fb9c3f964f37172b07d4
parent87902160ac917dca3fe8e91fd1511eb47cadfb85
Bug 3015 - netconf: Un-helpful error message presented when no service
provider is there to handle the RPC call.

* added catch in checkRpcResponse when cause of error is unimplemented
rpc service

Change-Id: I5b19827c63cd4b7962f55da79d4887bbff6b68ca
Signed-off-by: Jan Hajnar <jhajnar@cisco.com>
opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/restconf/impl/RestconfImpl.java
opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/InvokeRpcMethodTest.java