|
|||||||||
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.io.UnparsableOntologyException
public class UnparsableOntologyException
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 11-Apr-2008
Constructor Summary | |
---|---|
UnparsableOntologyException(IRI documentIRI,
java.util.Map<OWLParser,OWLParserException> exceptions)
|
Method Summary | |
---|---|
IRI |
getDocumentIRI()
Gets the ontology document IRI from which there was an attempt to parse an ontology |
java.util.Map<OWLParser,OWLParserException> |
getExceptions()
Gets a map that lists the parsers (that were used to parse an ontology) and the errors that they generated. |
java.lang.String |
getMessage()
|
static boolean |
isIncludeStackTraceInMessage()
Determines if the stack trace for each parse exception is included in the getMessage() method. |
static void |
setIncludeStackTraceInMessage(boolean includeStackTraceInMessage)
Specifies whether the stack trace for each parser exception should be included in the message generated by this exception - this can be useful for debugging purposes, but can bloat the message for end user usage. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, 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 UnparsableOntologyException(IRI documentIRI, java.util.Map<OWLParser,OWLParserException> exceptions)
Method Detail |
---|
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public IRI getDocumentIRI()
public static boolean isIncludeStackTraceInMessage()
true
if the stack trace is included in the
message for this exception, other wise false
.public static void setIncludeStackTraceInMessage(boolean includeStackTraceInMessage)
includeStackTraceInMessage
- Set to true
to indicate that the stack
trace for each parser exception should be included in the message for this exception,
otherwise set to false
.public java.util.Map<OWLParser,OWLParserException> getExceptions()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |