Throw ISE from SharedCodecCache 96/71796/1
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 4 May 2018 12:57:20 +0000 (14:57 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 4 May 2018 12:58:16 +0000 (14:58 +0200)
commit8cc16dd9afaf8c477a88023ed6073e600b9614ef
treeec291f064736a817ce96cdcae32dda4ce8ea3e34
parent0735add8fe240495b0c82479b31491847467ae83
Throw ISE from SharedCodecCache

When we fail to compute a cached value this amounts to an illegal
state -- throw IllegalStateException instead of RuntimeException.

Change-Id: Icafc0b9f054e7d2719f262b2ffac356fac49fa3c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-data-util/src/main/java/org/opendaylight/yangtools/yang/data/util/codec/SharedCodecCache.java