Examples of OWLRuntimeException


Examples of org.semanticweb.owlapi.model.OWLRuntimeException

    private void writeln() {
        try {
            writer.write("\n");
        } catch (IOException e) {
            throw new OWLRuntimeException(e);
        }
    }
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLRuntimeException

            writeCloseBracket();
        }
        try {
            writer.flush();
        } catch (IOException io) {
            throw new OWLRuntimeException(io);
        }
    }
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLRuntimeException

            axiom.accept(this);
        }
        try {
            writer.flush();
        } catch (IOException io) {
            throw new OWLRuntimeException(io);
        }
    }
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLRuntimeException

public class SystemOutDocumentTarget implements OWLOntologyDocumentTarget {

    @Nonnull
    @Override
    public IRI getDocumentIRI() {
        throw new OWLRuntimeException(
                "IRI not available.  getDocumentIRI() should not be called if isDocumentIRIAvailable() returns false.");
    }
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLRuntimeException

        return true;
    }

    @Override
    public Writer getWriter() {
        throw new OWLRuntimeException(
                "Writer not available.  getWriter() should not be called if isWriterAvailable() returns false.");
    }
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLRuntimeException

        try {
            writer.endDocument();
            writer.writeComment(VersionInfo.getVersionInfo()
                    .getGeneratedByMessage());
        } catch (IOException e) {
            throw new OWLRuntimeException(e);
        }
    }
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLRuntimeException

     */
    public void writeStartElement(OWLXMLVocabulary name) {
        try {
            writer.writeStartElement(name.getIRI());
        } catch (IOException e) {
            throw new OWLRuntimeException(e);
        }
    }
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLRuntimeException

    /** write end element */
    public void writeEndElement() {
        try {
            writer.writeEndElement();
        } catch (IOException e) {
            throw new OWLRuntimeException(e);
        }
    }
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLRuntimeException

    public void writeDatatypeAttribute(OWLDatatype datatype) {
        try {
            writer.writeAttribute(DATATYPE_IRI.getIRI(), datatype.getIRI()
                    .toString());
        } catch (IOException e) {
            throw new OWLRuntimeException(e);
        }
    }
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLRuntimeException

     */
    public void writeNodeIDAttribute(NodeID nodeID) {
        try {
            writer.writeAttribute(NODE_ID.getIRI(), nodeID.getID());
        } catch (IOException e) {
            throw new OWLRuntimeException(e);
        }
    }
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.