OpenMD 3.0
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
antlr::SemanticException Class Reference
+ Inheritance diagram for antlr::SemanticException:

Public Member Functions

 SemanticException (const std ::string &s)
 
 SemanticException (const std ::string &s, const std ::string &fileName_, int line_, int column_)
 
- Public Member Functions inherited from antlr::RecognitionException
 RecognitionException (const std ::string &s)
 
 RecognitionException (const std ::string &s, const std ::string &fileName, int line, int column)
 
virtual std::string getFilename () const throw ()
 Return file where mishap occurred.
 
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)
 
virtual std::string getFileLineColumnString () const
 See what file/line/column info is present and return it as a string.
 
- 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)
 

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)
inline

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_ )
inline

Definition at line 24 of file SemanticException.hpp.

◆ ~SemanticException()

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

Definition at line 31 of file SemanticException.hpp.


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