public class UnparsableOntologyException extends OWLOntologyCreationException
Constructor and Description |
---|
UnparsableOntologyException(IRI documentIRI,
Map<OWLParser,OWLParserException> exceptions,
OWLOntologyLoaderConfiguration config) |
Modifier and Type | Method and Description |
---|---|
IRI |
getDocumentIRI()
Gets the ontology document IRI from which there was an attempt to parse
an ontology.
|
Map<OWLParser,OWLParserException> |
getExceptions()
Gets a map that lists the parsers (that were used to parse an ontology)
and the errors that they generated.
|
String |
getMessage() |
static boolean |
isIncludeStackTraceInMessage()
Deprecated.
use the fields in OWLOntologyLoaderConfiguration
|
static void |
setIncludeStackTraceInMessage(boolean includeStackTraceInMessage)
Deprecated.
use the fields in OWLOntologyLoaderConfiguration
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnparsableOntologyException(IRI documentIRI, Map<OWLParser,OWLParserException> exceptions, OWLOntologyLoaderConfiguration config)
documentIRI
- the document IRIexceptions
- the map parser->exceptionsconfig
- the configuration objectpublic String getMessage()
getMessage
in class Throwable
public IRI getDocumentIRI()
public Map<OWLParser,OWLParserException> getExceptions()
@Deprecated public static boolean isIncludeStackTraceInMessage()
true
if the stack trace is included in the message for
this exception, other wise false
.@Deprecated 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
.Copyright © 2017 The University of Manchester. All Rights Reserved.