Cleanup BindingReflections.getModuleInfo() 60/96660/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 24 Jun 2021 12:35:13 +0000 (14:35 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 24 Jun 2021 12:35:13 +0000 (14:35 +0200)
commit56e59126cff485cbbed65e048435edf5446ee248
tree699130c140dac83b05af383c954426a76c83fc0d
parent93d4005c45707a6ebbe4620a0be7d7402648a980
Cleanup BindingReflections.getModuleInfo()

Simplify callers by throwing only IllegalStateExceptions, i.e.
properly catching our internal errors.

Change-Id: I900f3f1ed1236e54a66ed17c093df6a1c855be50
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-spec-util/src/main/java/org/opendaylight/mdsal/binding/spec/reflect/BindingReflections.java