commit | 0e5632a4e4918a8cb678b95715bfdfa9656b9564 | [log] [tgz] |
---|---|---|
author | Carmelo Cascone <carmelo@opennetworking.org> | Tue Feb 20 11:40:56 2018 -0800 |
committer | Carmelo Cascone <carmelo@opennetworking.org> | Tue Feb 20 11:43:56 2018 -0800 |
tree | f152a79b7b98229ba4ab3d16bba8e51939793fc1 | |
parent | 5c51d90ae655396e1c5245df20a92bc89006df29 [diff] |
Sonar is not happy with RuntimeException Change-Id: I6bc2d357926aef0fe3eca808b5aa3b55e1af3571
diff --git a/core/net/src/main/java/org/onosproject/net/pi/impl/CriterionTranslatorHelper.java b/core/net/src/main/java/org/onosproject/net/pi/impl/CriterionTranslatorHelper.java index db1f40c..4b64b0c 100644 --- a/core/net/src/main/java/org/onosproject/net/pi/impl/CriterionTranslatorHelper.java +++ b/core/net/src/main/java/org/onosproject/net/pi/impl/CriterionTranslatorHelper.java
@@ -182,7 +182,7 @@ "Unable to translate criterion %s: %s", criterion.type(), e.getMessage())); } catch (InstantiationException | IllegalAccessException e) { // Was not able to instantiate the criterion translator. - throw new RuntimeException(e); + throw new IllegalStateException(e); } } }