540541542543544545546547548
ontologyManager.removeOntology(ontologyManager.getOntology(ontologyId)); managedOntologies.remove(ontologyId); fireOntologyRemoved(ontologyId); } catch (RuntimeException ex) { throw new OntologyCollectorModificationException(this, ex); } }
659660661662663664665666
if (locked) throw new UnmodifiableOntologyCollectorException(this); try { managedOntologies.remove(ontologyId); fireOntologyRemoved(ontologyId); } catch (RuntimeException ex) { throw new OntologyCollectorModificationException(this, ex); } }