105106107108109110111112113114115
} catch (Exception e) { throw new JenaException(e); } if (ret != 0) throw new LabelExistsException("A model with ID '" + name + "' already exists."); } Graph g = model.getGraph(); add(name, g.find(Node.ANY, Node.ANY, Node.ANY), null);
175176177178179180181182183184185