Always set interrupted flag when catching InterruptedException. 11/4111/1
authorTomas Olvecky <tolvecky@cisco.com>
Thu, 9 Jan 2014 13:08:08 +0000 (14:08 +0100)
committerTomas Olvecky <tolvecky@cisco.com>
Thu, 9 Jan 2014 13:08:35 +0000 (14:08 +0100)
commit526cbb181ae68d4858473a7774a81d7c1414b9e5
tree5251c0dc91e5bd99a5063a4fbcedfbdf485f0577
parent67a2d25f63cc03d6291f9b3110e70fac812c3793
Always set interrupted flag when catching InterruptedException.

Fixed catching InterruptedException in config-subsystem and netconf.
In netconf persister propagate interrupted exception as it indicates
that netconf connection was not established and thus config pushing
does not work.

Change-Id: I7934bddd2b7c6591d1a4557a60df39a6de15dc72
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
opendaylight/netconf/config-netconf-connector/src/main/java/org/opendaylight/controller/netconf/confignetconfconnector/osgi/NetconfOperationServiceFactoryImpl.java
opendaylight/netconf/config-persister-impl/src/main/java/org/opendaylight/controller/netconf/persist/impl/osgi/ConfigPersisterActivator.java
opendaylight/netconf/netconf-client/src/main/java/org/opendaylight/controller/netconf/client/NetconfClient.java
opendaylight/netconf/netconf-ssh/src/main/java/org/opendaylight/controller/netconf/ssh/threads/SocketThread.java
opendaylight/netconf/netconf-util/src/main/java/org/opendaylight/controller/netconf/util/handler/ssh/virtualsocket/ChannelInputStream.java