org.semanticweb.owlapi.io
Class OWLParserException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.semanticweb.owlapi.model.OWLException
org.semanticweb.owlapi.io.OWLParserException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- KRSSOWLParserException, ManchesterOWLSyntaxParserException, OBOParserException, OWLParserIOException, OWLParserSAXException, OWLParserURISyntaxException, OWLRDFParserException, OWLRDFXMLParserException, OWLXMLParserException, TurtleParserException
public class OWLParserException
- extends OWLException
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 13-Apr-2007
Indicates that a parse error happened when trying to parse an ontology.
- See Also:
- Serialized Form
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 |
OWLParserException
public OWLParserException()
OWLParserException
public OWLParserException(java.lang.String message)
OWLParserException
public OWLParserException(java.lang.String message,
java.lang.Throwable cause)
OWLParserException
public OWLParserException(java.lang.Throwable cause)
OWLParserException
public OWLParserException(java.lang.String message,
int lineNumber,
int columnNumber)
OWLParserException
public OWLParserException(java.lang.Throwable cause,
int lineNumber,
int columnNumber)
getLineNumber
public int getLineNumber()
- Gets the line number of the line that the parser
was parsing when the error occurred.
- Returns:
- A positive integer which represents the line
number, or -1 if the line number could not be determined.
getColumnNumber
public int getColumnNumber()
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable