id, catalog_proc.getName()));
JSONObject json_graph = null;
try {
json_graph = new JSONObject(Encoder.hexDecodeToString(json_procs.getString(proc_key)));
MarkovGraph markov = new MarkovGraph(catalog_proc);
markov.fromJSON(json_graph, catalog_db);
MarkovGraphsContainer.this.put(id, markov);
markov.buildCache();
} catch (Throwable ex) {
throw new RuntimeException("Failed to load MarkovGraph " + id + " for " + catalog_proc.getName(), ex);
}