Cleanup DataBrokerTestModule error reporting 91/90091/1
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 29 May 2020 12:40:52 +0000 (14:40 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 29 May 2020 13:18:17 +0000 (15:18 +0200)
commite8781ca0f0ad43078ae6f75c0da4f8eef067fac8
treeb5757ca303901965dc1f779bd99ec27ba17ccdd7
parentb57c8259d202e7fc091e278f39cb6174ec90836f
Cleanup DataBrokerTestModule error reporting

Do not declare RuntimeException as thrown and do not wrap reported
RuntimeExceptions. Also make sure we use IllegalStateException as
the wrapper.

JIRA: MDSAL-556
Change-Id: Ifc47004c6d5cc2c974045c3f4d94154b506c8ebd
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 4e78a1e85ca3bd04a204bb05ab3fa1695cbbf94b)
binding/mdsal-binding-test-utils/src/main/java/org/opendaylight/mdsal/binding/testutils/DataBrokerTestModule.java