Correct exception handling in LegacyDOMDataBrokerAdapter 58/76558/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 1 Oct 2018 09:50:13 +0000 (11:50 +0200)
committerRobert Varga <nite@hq.sk>
Tue, 2 Oct 2018 11:40:12 +0000 (11:40 +0000)
commitd0191753146a119b6c47afbc5333b419a8881a61
treef498c9a1ea20544429cf75aa8c2be35de1e39fc8
parentbc83a3eb1d1bd51865f97bfb4262716fe7841293
Correct exception handling in LegacyDOMDataBrokerAdapter

When a TransactionChain is closed, we need to make sure we throw
the correct (controller) exception instead of re-wrapping the mdsal
one.

Change-Id: I74434115fe14a18ba520fc789fa8a21d932a4a15
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-dom-compat/src/main/java/org/opendaylight/controller/sal/core/compat/LegacyDOMDataBrokerAdapter.java