elk-reasoner/src/main/java/org/semanticweb/elk/reasoner/stages/AbstractReasonerState.java
public synchronized Taxonomy<ElkClass> getTaxonomyQuietly()
			throws ElkException {
		Taxonomy<ElkClass> result;

		try {
			result = getTaxonomy();
		} catch (ElkInconsistentOntologyException e) {
			LOGGER_.debug("Ontology is inconsistent");

			result = new SingletoneTaxonomy<ElkClass, OrphanTaxonomyNode<ElkClass>>(
					ElkClassKeyProvider.INSTANCE, getAllClasses(),
					new TaxonomyNodeFactory<ElkClass, OrphanTaxonomyNode<ElkClass>, Taxonomy<ElkClass>>() {
						@Override
						public OrphanTaxonomyNode<ElkClass> createNode(
								final Iterable<? extends ElkClass> members,
								final int size,
								final Taxonomy<ElkClass> taxonomy) {
							return new OrphanTaxonomyNode<ElkClass>(members,
									size, elkFactory_.getOwlNothing(),
									taxonomy);
						}
					});
		}

		return result;
	}
public synchronized Taxonomy<ElkClass> getTaxonomyQuietly()
			throws ElkException {
		Taxonomy<ElkClass> result;

		try {
			result = getTaxonomy();
		} catch (ElkInconsistentOntologyException e) {
			LOGGER_.debug("Ontology is inconsistent");

			result = new SingletoneTaxonomy<ElkClass, OrphanTaxonomyNode<ElkClass>>(
					ElkClassKeyProvider.INSTANCE, getAllClasses(),
					new TaxonomyNodeFactory<ElkClass, OrphanTaxonomyNode<ElkClass>, Taxonomy<ElkClass>>() {
						@Override
						public OrphanTaxonomyNode<ElkClass> createNode(
								final Iterable<? extends ElkClass> members,
								final int size,
								final Taxonomy<ElkClass> taxonomy) {
							return new OrphanTaxonomyNode<ElkClass>(members,
									size, elkFactory_.getOwlNothing(),
									taxonomy);
						}
					});
		}

		return result;
	}
public synchronized Taxonomy < ElkClass > getTaxonomyQuietly ( ) throws ElkException { Taxonomy < ElkClass > result ; try { result = getTaxonomy ( ) ; } catch ( ElkInconsistentOntologyException e ) { LOGGER_ . debug ( "Ontology is inconsistent" ) ; result = new SingletoneTaxonomy < ElkClass , OrphanTaxonomyNode < ElkClass > > ( ElkClassKeyProvider . INSTANCE , getAllClasses ( ) , new TaxonomyNodeFactory < ElkClass , OrphanTaxonomyNode < ElkClass > , Taxonomy < ElkClass > > ( ) { @ Override public OrphanTaxonomyNode < ElkClass > createNode ( final Iterable < ? extends ElkClass > members , final int size , final Taxonomy < ElkClass > taxonomy ) { return new OrphanTaxonomyNode < ElkClass > ( members , size , elkFactory_ . getOwlNothing ( ) , taxonomy ) ; } } ) ; } return result ; }
Compute the inferred taxonomy of the named classes for the given ontology
if it has not been done yet.

@return the class taxonomy implied by the current ontology
@throws ElkException
if the reasoning process cannot be completed successfully
Compute the inferred taxonomy of the named classes for the given ontology if it has not been done yet .