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

#include <SemanticException.hpp>

Inheritance diagram for SemanticException:
Inheritance graph
[legend]
Collaboration diagram for SemanticException:
Collaboration graph
[legend]

Public Member Functions

 SemanticException (const std::string &s)
 
 SemanticException (const std::string &s, const std::string &fileName_, int line_, int column_)
 
 ~SemanticException () throw ()
 
- Public Member Functions inherited from RecognitionException
 RecognitionException ()
 
 RecognitionException (const std::string &s)
 
 RecognitionException (const std::string &s, const std::string &fileName, int line, int column)
 
virtual ~RecognitionException () throw ()
 
virtual std::string getFilename () const throw ()
 Return file where mishap occurred. More...
 
virtual int getLine () const throw ()
 
virtual int getColumn () const throw ()
 
virtual std::string toString () const
 Return complete error message with line/column number info (if present) More...
 
virtual std::string getFileLineColumnString () const
 See what file/line/column info is present and return it as a string. More...
 

Additional Inherited Members

- Protected Attributes inherited from RecognitionException
std::string fileName
 
int line
 
int column
 

Constructor & Destructor Documentation

SemanticException::SemanticException ( const std::string &  s)
inline
SemanticException::SemanticException ( const std::string &  s,
const std::string &  fileName_,
int  line_,
int  column_ 
)
inline
SemanticException::~SemanticException ( )
throw (
)
inline

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