323334353637
{ public GraphReadOnly(Graph graph) { super(graph) ; } @Override public void add(Triple t) throws AddDeniedException { throw new AddDeniedException("read-only graph") ; }
363738394041
public void add(Triple t) throws AddDeniedException { throw new AddDeniedException("read-only graph") ; } @Override public void performAdd(Triple t) throws AddDeniedException { throw new AddDeniedException("read-only graph") ; }
208209210211212213
AddDeniedException; subclasses must override if they want to be able to add triples. */ @Override public void performAdd( Triple t ) { throw new AddDeniedException( "GraphBase::performAdd" ); }
217218219220221222
56575859606162
} void checkSize() { if ( count > limit ) throw new AddDeniedException("Attempt to exceed graph limit ("+limit+")") ; }