ANTLR Support Libraries 2.7.1+
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
Public Member Functions | Public Attributes | Private Attributes | List of all members
antlr::ANTLRException Class Reference

#include <ANTLRException.hpp>

Public Member Functions

 ANTLRException ()
 Create ANTLR base exception without error message. More...
 
virtual std::string getMessage () const
 

Public Attributes

 __pad0__: text(s) { } virtual ~ANTLRException() throw() { } virtual std ::string toString() const { return text
 Create ANTLR base exception with error message. More...
 

Private Attributes

std::string text
 

Constructor & Destructor Documentation

antlr::ANTLRException::ANTLRException ( )
inline

Create ANTLR base exception without error message.

Member Function Documentation

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.

Member Data Documentation

antlr::ANTLRException::__pad0__

Create ANTLR base exception with error message.

std ::string antlr::ANTLRException::text
private

The documentation for this class was generated from the following file: