Class LexicalException

java.lang.Object
java.lang.Throwable
java.lang.Exception
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BasicLexicalException

public abstract class LexicalException
extends GeneralAnalysisException
Exception to throw when there is some error during the lexical analysis related to the analysis itself and not the reading of the source.
Author:
Peter Verhas
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    LexicalException()  
    LexicalException​(java.lang.String arg0)  
    LexicalException​(java.lang.String arg0, java.lang.Throwable arg1)  
    LexicalException​(java.lang.Throwable arg0)  
  • Method Summary

    Modifier and Type Method Description
    abstract java.lang.String getFileName()  
    abstract int getLineNumber()  
    abstract int getPosition()  

    Methods inherited from class com.scriptbasic.exceptions.GeneralAnalysisException

    setFileName, setLineNumber, setLocation, setPosition

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait