ANTLRException Class Reference
#include <ANTLRException.hpp>
Inheritance diagram for ANTLRException:


Public Member Functions | |
ANTLRException () | |
Create ANTLR base exception without error message. | |
ANTLRException (const std::string &s) | |
Create ANTLR base exception with error message. | |
virtual | ~ANTLRException () throw () |
virtual std::string | toString () const |
Return complete error message with line/column number info (if present). | |
virtual std::string | getMessage () const |
Return error message without additional info (if present). | |
Private Attributes | |
std::string | text |
Constructor & Destructor Documentation
|
Create ANTLR base exception without error message.
Definition at line 22 of file ANTLRException.hpp. References text. |
|
Create ANTLR base exception with error message.
Definition at line 26 of file ANTLRException.hpp. References text. |
|
Definition at line 30 of file ANTLRException.hpp. |
Member Function Documentation
|
Return error message without additional info (if present).
Reimplemented in MismatchedCharException, MismatchedTokenException, NoViableAltException, and NoViableAltForCharException. Definition at line 48 of file ANTLRException.hpp. Referenced by MismatchedTokenException::getMessage(), MismatchedCharException::getMessage(), and TokenStreamRecognitionException::toString(). |
|
Return complete error message with line/column number info (if present).
Reimplemented in RecognitionException, and TokenStreamRecognitionException. Definition at line 38 of file ANTLRException.hpp. |
Member Data Documentation
|
Definition at line 53 of file ANTLRException.hpp. Referenced by ANTLRException(). |
The documentation for this class was generated from the following file:
- lib/antlr/antlr/ANTLRException.hpp