#include <ANTLRException.hpp>
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 () |
|
inlinevirtual |
virtual std ::string antlr::ANTLRException::getMessage |
( |
| ) |
const |
|
inlinevirtual |
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.
virtual std ::string antlr::ANTLRException::toString |
( |
| ) |
const |
|
inlinevirtual |
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.
std ::string antlr::ANTLRException::text |
|
private |
The documentation for this class was generated from the following file: