provide missing module's name via IllegalArgumentException 42/73442/2
authorMichael Vorburger <vorburger@redhat.com>
Tue, 26 Jun 2018 11:09:37 +0000 (13:09 +0200)
committerTom Pantelis <tompantelis@gmail.com>
Tue, 26 Jun 2018 13:17:14 +0000 (13:17 +0000)
commit6a119468071021a287c855ecc6cdcbaedea5a539
tree50878d04678d2c96ac4570b3a59d730216cd8b19
parent8fbf100a671b513d9ec777c074cffe137773e9bb
provide missing module's name via IllegalArgumentException

by using orElseThrow() instead of get() on Optional<Module> in RpcUtil

to help understand MDSAL-354 problem

JIRA: MDSAL-354
Change-Id: If4d4f663b7cb63acea38acda73686176d27ff56f
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
opendaylight/blueprint/src/main/java/org/opendaylight/controller/blueprint/ext/RpcUtil.java