antlr::TokenStreamRecognitionException Class Reference
#include <TokenStreamRecognitionException.hpp>
List of all members.
Detailed Description
Exception thrown from generated lexers when there's no default error handler specified.
- See also:
- TokenStream
Constructor & Destructor Documentation
antlr::TokenStreamRecognitionException::TokenStreamRecognitionException |
( |
RecognitionException & |
re |
) |
[inline] |
virtual antlr::TokenStreamRecognitionException::~TokenStreamRecognitionException |
( |
|
) |
throw () [inline, virtual] |
Member Function Documentation
virtual int antlr::TokenStreamRecognitionException::getColumn |
( |
|
) |
const throw () [inline, virtual] |
virtual std ::string antlr::TokenStreamRecognitionException::getFilename |
( |
|
) |
const throw () [inline, virtual] |
virtual int antlr::TokenStreamRecognitionException::getLine |
( |
|
) |
const throw () [inline, virtual] |
virtual std ::string antlr::TokenStreamRecognitionException::toString |
( |
|
) |
const [inline, virtual] |
Return complete error message with line/column number info (if present)
- Note:
- for your own exceptions override this one. Call getMessage from here to get the 'clean' error message stored in the text attribute.
Reimplemented from antlr::ANTLRException.
Member Data Documentation
The documentation for this class was generated from the following file: