Serializable
public class OWLOntologyAlreadyExistsException extends OWLOntologyCreationException
Constructor | Description |
---|---|
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 id,
Throwable t) |
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. |
OWLOntologyAlreadyExistsException(OWLOntologyID ontologyID,
IRI documentIRI,
Throwable t) |
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. |
Modifier and Type | Method | Description |
---|---|---|
IRI |
getDocumentIRI() |
Gets the document IRI where the ontology was loaded from.
|
OWLOntologyID |
getOntologyID() |
Gets the ID of the ontology that already exists.
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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 frompublic OWLOntologyAlreadyExistsException(OWLOntologyID id, Throwable t)
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.t
- the causepublic OWLOntologyAlreadyExistsException(OWLOntologyID ontologyID, IRI documentIRI, Throwable t)
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 fromt
- the causepublic OWLOntologyID getOntologyID()
public IRI getDocumentIRI()
null
.Copyright © 2018 The University of Manchester. All rights reserved.