Cleanup DataBrokerTestModule error reporting 89/90089/2
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 12:47:55 +0000 (14:47 +0200)
commit4e78a1e85ca3bd04a204bb05ab3fa1695cbbf94b
tree645214f4247388fe022b9d19bcecca02a9096603
parent72423e1899b2074257b02155eff6e257d63d566f
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>
binding/mdsal-binding-test-utils/src/main/java/org/opendaylight/mdsal/binding/testutils/DataBrokerTestModule.java