Package com.scriptbasic.exceptions
Class LexicalException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.scriptbasic.interfaces.AnalysisException
com.scriptbasic.exceptions.GeneralAnalysisException
com.scriptbasic.exceptions.LexicalException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BasicLexicalException
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:
-
Constructor Summary
ConstructorsConstructorDescriptionLexicalException(String arg0) LexicalException(String arg0, Throwable arg1) LexicalException(Throwable arg0) -
Method Summary
Methods inherited from class com.scriptbasic.exceptions.GeneralAnalysisException
setFileName, setLineNumber, setLocation, setPositionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LexicalException
public LexicalException() -
LexicalException
-
LexicalException
-
LexicalException
-
-
Method Details
-
getFileName
- Overrides:
getFileNamein classGeneralAnalysisException
-
getLineNumber
public abstract int getLineNumber()- Overrides:
getLineNumberin classGeneralAnalysisException
-
getPosition
public abstract int getPosition()- Overrides:
getPositionin classGeneralAnalysisException
-