|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.semanticweb.owlapi.model.OWLException org.semanticweb.owlapi.model.OWLOntologyCreationException org.semanticweb.owlapi.model.OWLOntologyAlreadyExistsException
public class OWLOntologyAlreadyExistsException
Author: Matthew Horridge
The University of Manchester
Information Management Group
Date: 18-Jan-2009
Constructor Summary | |
---|---|
OWLOntologyAlreadyExistsException(OWLOntologyID id)
Constructs an OWLOntologyAlreadyExistsException to describe the situation where an attempt to
create an ontology failed because the manager already contained an ontology with specified ontology ID. |
|
OWLOntologyAlreadyExistsException(OWLOntologyID ontologyID,
IRI documentIRI)
Constructs an OWLOntologyAlreadyExistsException to describe the situation where an attempt to
load an ontology failed because the manager already contained an ontology with the ID that was the same as
the ontology being loaded |
Method Summary | |
---|---|
IRI |
getDocumentIRI()
Gets the document IRI where the ontology was loaded from |
OWLOntologyID |
getOntologyID()
Gets the ID of the ontology that already exists |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OWLOntologyAlreadyExistsException(OWLOntologyID id)
OWLOntologyAlreadyExistsException
to describe the situation where an attempt to
create an ontology failed because the manager already contained an ontology with specified ontology ID.
id
- The ID of the ontology (not null
) that was already contained in the manager.public OWLOntologyAlreadyExistsException(OWLOntologyID ontologyID, IRI documentIRI)
OWLOntologyAlreadyExistsException
to describe the situation where an attempt to
load an ontology failed because the manager already contained an ontology with the ID that was the same as
the ontology being loaded
ontologyID
- The ontology IDdocumentIRI
- The IRI of the document where the load attempt occurred fromMethod Detail |
---|
public OWLOntologyID getOntologyID()
public IRI getDocumentIRI()
null
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |