eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ParseError':

Home

everywhere
www.exept.de
for:
[back]

Class: ParseError


Inheritance:

   Object
   |
   +--GenericException
      |
      +--Exception
         |
         +--Error
            |
            +--ProceedableError
               |
               +--ParseError
                  |
                  +--CompilationError
                  |
                  +--UndefinedSuperclassError
                  |
                  +--UndefinedVariableError

Package:
stx:libcomp
Category:
System-Compiler
Version:
rev: 1.3 date: 2016/11/04 15:14:39
user: cg
file: ParseError.st directory: libcomp
module: stx stc-classLibrary: libcomp

Description:


raised for any compilation-related errors.
(originally, I wanted to subclass this from compilationError,
and raise different error for code generator issues (i.e. method too
big, etc.) But all users of the parser in the system (RB-stuff, Lint stuff,
fileIn etc.) always handle the ParseError, and I don't want them to be forced to change.
So we subclass the codeGenerator issues from this one.


Instance protocol:

accessing
o  description

o  endPosition

o  errorMessage

o  errorMessage: something

o  errorMessage: errorMessageArg startPosition: startPositionArg

o  errorMessage: errorMessageArg startPosition: startPositionArg endPosition: endPositionArg

o  lineNumber

o  lineNumber: something

o  parser

o  startPosition



ST/X 7.1.0.0; WebServer 1.653 at exept.de:8081; Sun, 21 Jan 2018 14:19:13 GMT