Refactor to remove empty catch exception. 49/2449/4
authorRyan Moats <rmoats@us.ibm.com>
Wed, 6 Nov 2013 16:45:07 +0000 (10:45 -0600)
committerGiovanni Meo <gmeo@cisco.com>
Thu, 7 Nov 2013 18:30:15 +0000 (19:30 +0100)
commite6d4ee9b3b12a9f1b815bacb0cc9268416451afb
tree7901b96cd1e29cd1be5cc78a909d88a0415e7631
parent01a56eb0af909443c71e7b8363f8cc5a197b31bb
Refactor to remove empty catch exception.

Initializing a subnet object included an empty catch exception.
Refactor to return a boolean from this method so that exception
is reflected to calling methods, which can then take appropriate
action.

Change-Id: Ia6f3188064677de9035508994d864373915db0f1
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/NeutronSubnet.java
opendaylight/northbound/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/northbound/NeutronSubnetsNorthbound.java