OpenMD  2.5
Molecular Dynamics in the Open
antlr::SemanticException Class Reference

#include <SemanticException.hpp>

Inheritance diagram for antlr::SemanticException:
antlr::RecognitionException antlr::ANTLRException

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 antlr::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...
- Public Member Functions inherited from antlr::ANTLRException
 ANTLRException ()
 Create ANTLR base exception without error message. More...
 ANTLRException (const std ::string &s)
 Create ANTLR base exception with error message. More...
virtual ~ANTLRException () throw ()
virtual std ::string getMessage () const

Additional Inherited Members

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

Detailed Description

Definition at line 18 of file SemanticException.hpp.

Constructor & Destructor Documentation

◆ SemanticException() [1/2]

antlr::SemanticException::SemanticException ( const std ::string &  s)

Definition at line 20 of file SemanticException.hpp.

◆ SemanticException() [2/2]

antlr::SemanticException::SemanticException ( const std ::string &  s,
const std ::string &  fileName_,
int  line_,
int  column_ 

Definition at line 24 of file SemanticException.hpp.

◆ ~SemanticException()

antlr::SemanticException::~SemanticException ( )
throw (

Definition at line 31 of file SemanticException.hpp.

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