Fix error message typo
[netconf.git] / restconf / restconf-nb-rfc8040 / src / main / java / org / opendaylight / restconf / nb / rfc8040 / ContentParam.java
index 75f2255ad4d3f5c65a64dec80efaedac0ee64216..35a9248af9f98650c0234f40c3c838db2cd0f326 100644 (file)
@@ -64,7 +64,7 @@ public enum ContentParam implements RestconfQueryParam<ContentParam> {
                 return NONCONFIG;
             default:
                 throw new IllegalArgumentException(
-                    "Value can be 'all', 'config' or 'non-config', not '" + uriValue + "'");
+                    "Value can be 'all', 'config' or 'nonconfig', not '" + uriValue + "'");
         }
     }
 }