commit | 52d4ed7c8dcd8891ebad0de54d075fe83cb57511 | [log] [tgz] |
---|---|---|
author | Saurav Das <sauravdas@alumni.stanford.edu> | Mon Mar 28 19:00:18 2016 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Tue Mar 29 22:14:41 2016 +0000 |
tree | 4b396a9a06bf1cf8a3c667a325edd3897170e1f8 | |
parent | aad123208a0af4a1c97b3fdfde655ff6343e93e6 [diff] [blame] |
Fixing a couple of NPEs Change-Id: I19b5a2787b26e67e05640f6c64a13b58f2dc089a
diff --git a/src/main/java/org/onosproject/segmentrouting/config/DeviceProperties.java b/src/main/java/org/onosproject/segmentrouting/config/DeviceProperties.java index 9d4d884..632eeec 100644 --- a/src/main/java/org/onosproject/segmentrouting/config/DeviceProperties.java +++ b/src/main/java/org/onosproject/segmentrouting/config/DeviceProperties.java
@@ -93,8 +93,10 @@ * * @param deviceId device identifier * @return a map that contains all subnet-to-ports mapping of given device + * @throws DeviceConfigNotFoundException */ - Map<Ip4Prefix, List<PortNumber>> getSubnetPortsMap(DeviceId deviceId); + Map<Ip4Prefix, List<PortNumber>> getSubnetPortsMap(DeviceId deviceId) + throws DeviceConfigNotFoundException; /** * Returns the VLAN cross-connect configuration.