Prevent ConfigPusher from killing its thread 82/4882/1
authorRobert Varga <rovarga@cisco.com>
Mon, 27 Jan 2014 13:51:10 +0000 (14:51 +0100)
committerRobert Varga <rovarga@cisco.com>
Mon, 27 Jan 2014 13:51:10 +0000 (14:51 +0100)
commita84d1bd3fba5d6fb7d9777e1508221e2f773e94f
treeabe6ca667d26921013d3909b8a071d1cb7ed1863
parent424b73ce019d401b5e4ebbf14613983e092378e3
Prevent ConfigPusher from killing its thread

The original code promoted pretty much every error to an unhandled
RuntimeException. Use the exceptions already in place to handle erros
occuring. Also handle IO error as a retriable operation.

Change-Id: I666d66e89993f0f9d18afb6ec680e64a50cefec1
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/netconf/config-persister-impl/src/main/java/org/opendaylight/controller/netconf/persist/impl/ConfigPusher.java