[SDFAB-90] Implement priority mechanism in the Policy framework.

Change-Id: I738956566bfcf1bd5e2d4fcd9bfef153b5fb674a
diff --git a/web/src/main/java/org/onosproject/segmentrouting/web/PolicyWebResource.java b/web/src/main/java/org/onosproject/segmentrouting/web/PolicyWebResource.java
index 5a24ca5..f876f18 100644
--- a/web/src/main/java/org/onosproject/segmentrouting/web/PolicyWebResource.java
+++ b/web/src/main/java/org/onosproject/segmentrouting/web/PolicyWebResource.java
@@ -252,7 +252,7 @@
             }
             policyService.addOrUpdateTrafficMatch(trafficMatch);
             root.put(TRAFFIC_MATCH_ID, trafficMatch.trafficMatchId().toString());
-        } catch (IOException ex) {
+        } catch (IOException | IllegalArgumentException ex) {
             throw new IllegalArgumentException(ex);
         }