Bump upstreams for 2022.09 Chlorine
[ovsdb.git] / library / impl / src / main / java / org / opendaylight / ovsdb / lib / jsonrpc / JsonUtils.java
index a67e2807cb57efde2e5cbb2d9f6db2b078391144..574c65b3b879d15cd4c353279162690e7b998afe 100644 (file)
@@ -15,13 +15,14 @@ public final class JsonUtils {
     private static final ObjectWriter PRETTY_WRITER = new ObjectMapper().writerWithDefaultPrettyPrinter();
 
     private JsonUtils() {
+        // Hidden on purpose
     }
 
     public static String prettyString(final Object jsonNode) {
         try {
             return PRETTY_WRITER.writeValueAsString(jsonNode);
         } catch (JsonProcessingException e) {
-            throw new RuntimeException(e);
+            throw new IllegalStateException(e);
         }
     }
 }