#include <ANTLRException.hpp>
Public Member Functions | |
ANTLRException () | |
Create ANTLR base exception without error message. | |
ANTLRException (const ANTLR_USE_NAMESPACE(std) string &s) | |
Create ANTLR base exception with error message. | |
virtual | ~ANTLRException () throw () |
virtual | ANTLR_USE_NAMESPACE (std) string toString() const |
virtual | ANTLR_USE_NAMESPACE (std) string getMessage() const |
Private Member Functions | |
ANTLR_USE_NAMESPACE (std) string text |
Definition at line 18 of file ANTLRException.hpp.
ANTLRException::ANTLRException | ( | ) | [inline] |
Create ANTLR base exception without error message.
Definition at line 22 of file ANTLRException.hpp.
ANTLRException::ANTLRException | ( | const ANTLR_USE_NAMESPACE(std) string & | s | ) | [inline] |
virtual ANTLRException::~ANTLRException | ( | ) | throw () [inline, virtual] |
Definition at line 30 of file ANTLRException.hpp.
virtual ANTLRException::ANTLR_USE_NAMESPACE | ( | std | ) | const [inline, virtual] |
Return complete error message with line/column number info (if present)
Reimplemented in MismatchedCharException, MismatchedTokenException, MismatchedTokenException, NoViableAltException, NoViableAltForCharException, RecognitionException, RecognitionException, RecognitionException, TokenStreamRecognitionException, and TokenStreamRecognitionException.
Definition at line 38 of file ANTLRException.hpp.
virtual ANTLRException::ANTLR_USE_NAMESPACE | ( | std | ) | const [inline, virtual] |
Return error message without additional info (if present)
Reimplemented in MismatchedCharException, MismatchedTokenException, MismatchedTokenException, NoViableAltException, NoViableAltForCharException, RecognitionException, RecognitionException, RecognitionException, TokenStreamRecognitionException, and TokenStreamRecognitionException.
Definition at line 48 of file ANTLRException.hpp.
ANTLRException::ANTLR_USE_NAMESPACE | ( | std | ) | [private] |
Reimplemented in CharStreamIOException, IOException, MismatchedTokenException, RecognitionException, and TokenStreamIOException.