#include <ANTLRException.hpp>
List of all members.
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 |
virtual std::string | getMessage () const |
Private Attributes |
std::string | text |
Constructor & Destructor Documentation
Create ANTLR base exception without error message.
Create ANTLR base exception with error message.
Member Function Documentation
Return error message without additional info (if present)
- Note:
- when making your own exceptions classes override toString and call in toString getMessage which relays the text attribute from here.
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.
Member Data Documentation
The documentation for this class was generated from the following file: