OpenMD 3.1
Molecular Dynamics in the Open
|
Exception thrown from generated lexers when there's no default error handler specified. More...
#include <TokenStreamRecognitionException.hpp>
Public Member Functions | |
TokenStreamRecognitionException (RecognitionException &re) | |
virtual std::string | toString () const |
Return complete error message with line/column number info (if present) | |
virtual std::string | getFilename () const throw () |
virtual int | getLine () const throw () |
virtual int | getColumn () const throw () |
Public Member Functions inherited from antlr::TokenStreamException | |
TokenStreamException (const std ::string &s) | |
Public Member Functions inherited from antlr::ANTLRException | |
ANTLRException () | |
Create ANTLR base exception without error message. | |
ANTLRException (const std ::string &s) | |
Create ANTLR base exception with error message. | |
virtual std::string | getMessage () const |
Return error message without additional info (if present) | |
Exception thrown from generated lexers when there's no default error handler specified.
Definition at line 22 of file TokenStreamRecognitionException.hpp.
|
inline |
Definition at line 24 of file TokenStreamRecognitionException.hpp.
|
inlinevirtual |
Definition at line 29 of file TokenStreamRecognitionException.hpp.
|
inlinevirtual |
Definition at line 45 of file TokenStreamRecognitionException.hpp.
|
inlinevirtual |
Definition at line 37 of file TokenStreamRecognitionException.hpp.
|
inlinevirtual |
Definition at line 41 of file TokenStreamRecognitionException.hpp.
|
inlinevirtual |
Return complete error message with line/column number info (if present)
Reimplemented from antlr::ANTLRException.
Definition at line 32 of file TokenStreamRecognitionException.hpp.
References antlr::RecognitionException::getFileLineColumnString(), and antlr::ANTLRException::getMessage().