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

Public Member Functions

 NoViableAltForCharException (int c, CharScanner *scanner)
 
 NoViableAltForCharException (int c, const std ::string &fileName_, int line_, int column_)
 
std::string getMessage () const
 Returns a clean error message (no line number/column information)
 
- 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.
 

Protected Attributes

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

Detailed Description

Definition at line 20 of file NoViableAltForCharException.hpp.

Constructor & Destructor Documentation

◆ NoViableAltForCharException() [1/2]

antlr::NoViableAltForCharException::NoViableAltForCharException ( int c,
CharScanner * scanner )

Definition at line 15 of file NoViableAltForCharException.cpp.

◆ NoViableAltForCharException() [2/2]

antlr::NoViableAltForCharException::NoViableAltForCharException ( int c,
const std ::string & fileName_,
int line_,
int column_ )

Definition at line 23 of file NoViableAltForCharException.cpp.

◆ ~NoViableAltForCharException()

virtual antlr::NoViableAltForCharException::~NoViableAltForCharException ( )
throw ( )
inlinevirtual

Definition at line 27 of file NoViableAltForCharException.hpp.

Member Function Documentation

◆ getMessage()

std::string antlr::NoViableAltForCharException::getMessage ( ) const
virtual

Returns a clean error message (no line number/column information)

Reimplemented from antlr::ANTLRException.

Definition at line 32 of file NoViableAltForCharException.cpp.

Member Data Documentation

◆ foundChar

int antlr::NoViableAltForCharException::foundChar
protected

Definition at line 34 of file NoViableAltForCharException.hpp.


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