Examples of OWLRuntimeException


Examples of org.semanticweb.owlapi.model.OWLRuntimeException

            factory.setFeature(
                    "http://apache.org/xml/features/nonvalidating/load-external-dtd",
                    false);
            factory.setFeature("http://xml.org/sax/features/validation", false);
        } catch (Exception e) {
            throw new OWLRuntimeException(e);
        }
        factory.setNamespaceAware(true);
        return factory;
    }
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLRuntimeException

    /** @return current ontology */
    @Nonnull
    public OWLOntology getCurrentOntology() {
        OWLOntology ontology = walker.getOntology();
        if (ontology == null) {
            throw new OWLRuntimeException(
                    "No current ontology; is the walker being used outside of an ontology visit?");
        }
        return ontology;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.