Shashikanth VH

PtToPtIntentVirtualNetworkProvider invalid null parameter exception handling.

Change-Id: I2b92da94a6ede704f9372b3f381fc4d97ddd7713
...@@ -102,9 +102,9 @@ public class PtToPtIntentVirtualNetworkProvider extends AbstractProvider impleme ...@@ -102,9 +102,9 @@ public class PtToPtIntentVirtualNetworkProvider extends AbstractProvider impleme
102 102
103 @Override 103 @Override
104 public TunnelId createTunnel(NetworkId networkId, ConnectPoint src, ConnectPoint dst) { 104 public TunnelId createTunnel(NetworkId networkId, ConnectPoint src, ConnectPoint dst) {
105 - checkNotNull(NETWORK_ID_NULL, networkId); 105 + checkNotNull(networkId, NETWORK_ID_NULL);
106 - checkNotNull(CONNECT_POINT_NULL, src); 106 + checkNotNull(src, CONNECT_POINT_NULL);
107 - checkNotNull(CONNECT_POINT_NULL, dst); 107 + checkNotNull(dst, CONNECT_POINT_NULL);
108 String key = String.format(KEY_FORMAT, networkId.toString(), src.toString(), dst.toString()); 108 String key = String.format(KEY_FORMAT, networkId.toString(), src.toString(), dst.toString());
109 Key intentKey = Key.of(key, appId); 109 Key intentKey = Key.of(key, appId);
110 110
......