org.semanticweb.owlapi.expression
Class ParserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.semanticweb.owlapi.expression.ParserException
All Implemented Interfaces:
java.io.Serializable

public class ParserException
extends java.lang.Exception

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 11-Sep-2007

See Also:
Serialized Form

Constructor Summary
ParserException(java.util.List<java.lang.String> tokenSequence, int lineNumber, int columnNumber, boolean integerExpected, int startPos)
           
ParserException(java.util.List<java.lang.String> tokenSequence, int startPos, int lineNumber, int columnNumber, boolean classNameExpected, boolean objectPropertyNameExpected, boolean dataPropertyNameExpected, boolean individualNameExpected, boolean datatypeNameExpected, boolean annotationPropertyExpected, java.util.Set<java.lang.String> expectedKeywords)
           
ParserException(java.util.List<java.lang.String> tokenSeqence, int startPos, int lineNumber, int columnNumber, boolean classNameExpected, boolean objectPropertyNameExpected, boolean dataPropertyNameExpected, boolean individualNameExpected, boolean datatypeNameExpected, boolean annotationPropertyExpected, java.lang.String... keywords)
           
ParserException(java.util.List<java.lang.String> tokenSequence, int startPos, int lineNumber, int columnNumber, boolean ontologyNameExpected, java.lang.String... keywords)
           
ParserException(java.util.List<java.lang.String> tokenSequence, int startPos, int lineNumber, int columnNumber, java.lang.String... keywords)
           
 
Method Summary
 int getColumnNumber()
           
 java.lang.String getCurrentToken()
           
 java.util.Set<java.lang.String> getExpectedKeywords()
           
 int getLineNumber()
           
 java.lang.String getMessage()
           
 int getStartPos()
           
 java.util.List<java.lang.String> getTokenSequence()
           
 boolean isAnnotationPropertyNameExpected()
           
 boolean isClassNameExpected()
           
 boolean isDataPropertyNameExpected()
           
 boolean isDatatypeNameExpected()
           
 boolean isIndividualNameExpected()
           
 boolean isObjectPropertyNameExpected()
           
 boolean isOntologyNameExpected()
           
 
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

ParserException

public ParserException(java.util.List<java.lang.String> tokenSequence,
                       int startPos,
                       int lineNumber,
                       int columnNumber,
                       boolean ontologyNameExpected,
                       java.lang.String... keywords)

ParserException

public ParserException(java.util.List<java.lang.String> tokenSequence,
                       int startPos,
                       int lineNumber,
                       int columnNumber,
                       boolean classNameExpected,
                       boolean objectPropertyNameExpected,
                       boolean dataPropertyNameExpected,
                       boolean individualNameExpected,
                       boolean datatypeNameExpected,
                       boolean annotationPropertyExpected,
                       java.util.Set<java.lang.String> expectedKeywords)

ParserException

public ParserException(java.util.List<java.lang.String> tokenSeqence,
                       int startPos,
                       int lineNumber,
                       int columnNumber,
                       boolean classNameExpected,
                       boolean objectPropertyNameExpected,
                       boolean dataPropertyNameExpected,
                       boolean individualNameExpected,
                       boolean datatypeNameExpected,
                       boolean annotationPropertyExpected,
                       java.lang.String... keywords)

ParserException

public ParserException(java.util.List<java.lang.String> tokenSequence,
                       int lineNumber,
                       int columnNumber,
                       boolean integerExpected,
                       int startPos)

ParserException

public ParserException(java.util.List<java.lang.String> tokenSequence,
                       int startPos,
                       int lineNumber,
                       int columnNumber,
                       java.lang.String... keywords)
Method Detail

getTokenSequence

public java.util.List<java.lang.String> getTokenSequence()

getStartPos

public int getStartPos()

isClassNameExpected

public boolean isClassNameExpected()

isObjectPropertyNameExpected

public boolean isObjectPropertyNameExpected()

isDataPropertyNameExpected

public boolean isDataPropertyNameExpected()

isIndividualNameExpected

public boolean isIndividualNameExpected()

isDatatypeNameExpected

public boolean isDatatypeNameExpected()

isAnnotationPropertyNameExpected

public boolean isAnnotationPropertyNameExpected()

isOntologyNameExpected

public boolean isOntologyNameExpected()

getExpectedKeywords

public java.util.Set<java.lang.String> getExpectedKeywords()

getCurrentToken

public java.lang.String getCurrentToken()

getLineNumber

public int getLineNumber()

getColumnNumber

public int getColumnNumber()

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable