|
ANTLR Support Libraries 2.7.1+
|
#include <ANTLRException.hpp>

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 |
| antlr::ANTLRException::ANTLRException | ( | ) | [inline] |
Create ANTLR base exception without error message.
| antlr::ANTLRException::ANTLRException | ( | const std::string & | s | ) | [inline] |
Create ANTLR base exception with error message.
| virtual antlr::ANTLRException::~ANTLRException | ( | ) | throw () [inline, virtual] |
| virtual std ::string antlr::ANTLRException::getMessage | ( | ) | const [inline, virtual] |
Return error message without additional info (if present)
Reimplemented in antlr::MismatchedCharException, antlr::MismatchedTokenException, antlr::NoViableAltException, and antlr::NoViableAltForCharException.
| virtual std ::string antlr::ANTLRException::toString | ( | ) | const [inline, virtual] |
Return complete error message with line/column number info (if present)
Reimplemented in antlr::RecognitionException, and antlr::TokenStreamRecognitionException.
std ::string antlr::ANTLRException::text [private] |
1.7.4