org.semanticweb.owl.io
Class OWLParserException
java.lang.Object
  
java.lang.Throwable
      
java.lang.Exception
          
org.semanticweb.owl.model.OWLException
              
org.semanticweb.owl.model.OWLOntologyCreationException
                  
org.semanticweb.owl.io.OWLParserException
- All Implemented Interfaces: 
 - java.io.Serializable
 
- Direct Known Subclasses: 
 - KRSSOWLParserException, ManchesterOWLSyntaxParserException, OBOParserException, OWLFunctionalSyntaxParserException, OWLParserIOException, OWLRDFParserException, OWLRDFXMLParserException, OWLXMLParserException, TurtleParserException
 
public class OWLParserException
- extends OWLOntologyCreationException
 
Author: Matthew Horridge
 The University Of Manchester
 Bio-Health Informatics Group
 Date: 13-Apr-2007
- See Also:
 - Serialized Form
 
 
| 
Method Summary | 
 int | 
getLineNumber()
 
          Gets the line number of the line that the parser
 was parsing when the error occurred. | 
 java.lang.String | 
getMessage()
 
            | 
 void | 
setLineNumber(int lineNumber)
 
            | 
 
| Methods inherited from class java.lang.Throwable | 
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString | 
 
| Methods inherited from class java.lang.Object | 
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
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)
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.
 
 
 
setLineNumber
public void setLineNumber(int lineNumber)
 
getMessage
public java.lang.String getMessage()
- Overrides:
 getMessage in class java.lang.Throwable