Package org.mindswap.pellet.exceptions

Examples of org.mindswap.pellet.exceptions.InconsistentOntologyException


    return getTaxonomyBuilder().getToldDisjoints();
  }

  public void ensureConsistency() {
    if( !isConsistent() )
      throw new InconsistentOntologyException(
          "Cannot do reasoning with inconsistent ontologies!\n" +
          "Reason for inconsistency: " + getExplanation() +
          (PelletOptions.USE_TRACING ? "\n" + renderExplanationSet() : "" ));
  }
View Full Code Here


    return getTaxonomyBuilder().getToldDisjoints();
  }

  public void ensureConsistency() {
    if( !isConsistent() )
      throw new InconsistentOntologyException(
          "Cannot do reasoning with inconsistent ontologies!\n" +
          "Reason for inconsistency: " + getExplanation() +
          (PelletOptions.USE_TRACING ? "\n" + renderExplanationSet() : "" ));
  }
View Full Code Here

TOP

Related Classes of org.mindswap.pellet.exceptions.InconsistentOntologyException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.