BUG-1027: rework lookup for clarity 53/7153/1
authorRobert Varga <rovarga@cisco.com>
Sun, 18 May 2014 10:10:21 +0000 (12:10 +0200)
committerRobert Varga <rovarga@cisco.com>
Sun, 18 May 2014 10:19:56 +0000 (12:19 +0200)
commitc697dfa3b909ca25b73757c914d20e51886a11de
tree6fcd71261ca3438f3c1c7ba97fc3eb8e148d5ed6
parent276565588a12090466347d7ea23866cc16abacef
BUG-1027: rework lookup for clarity

This patch gets rid of the nasty 'catch Exception', making the lookup
fail as soon as a DeserializationException is thrown. We account for
most of the checked exceptions, so this should not be a problem.

Change-Id: I3d0440933ebc30ba32a06690ebe326e18addf613
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/md/sal/binding/impl/BindingToNormalizedNodeCodec.java