Split out strategy decision error handling 81/101381/7
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 31 May 2022 18:59:29 +0000 (20:59 +0200)
committerRobert Varga <nite@hq.sk>
Thu, 28 Jul 2022 23:39:07 +0000 (23:39 +0000)
commit77cedd1e445f7efc325c185aca8c41fe3b6d606b
treee906213736520b05176efbaaec73b38b01c4b216
parent4c49398a85911278e3a5ac5a6ce3d5f3261b65a6
Split out strategy decision error handling

When the strategy determines that a connection attempt should not be
made it will throw an exception. Peel this case out of the rest of
connection handling and add a dedicated message.

Change-Id: I9dd897f487421ba096240ebc9e3d999a7a5d7489
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/NetconfSessionPromise.java