MySQL++ SSQLS v2 Translator  3.2.5
Public Member Functions | List of all members
ParseV2::ParseException Class Reference

Exception object thrown by File::error() to report an SSQLS v2 parsing error. More...

#include <parsev2.h>

Inheritance diagram for ParseV2::ParseException:
Inheritance graph
[legend]
Collaboration diagram for ParseV2::ParseException:
Collaboration graph
[legend]

Public Member Functions

 ParseException (const std::string &what, const std::string &file_name, size_t line)
 Constructor. More...
 
 ~ParseException () throw ()
 Destructor.
 
const char * file_name () const
 Get name of file where error occurred.
 
size_t line () const
 Get line number where error occurred.
 

Detailed Description

Exception object thrown by File::error() to report an SSQLS v2 parsing error.

Constructor & Destructor Documentation

◆ ParseException()

ParseV2::ParseException::ParseException ( const std::string &  what,
const std::string &  file_name,
size_t  line 
)
inline

Constructor.

Parameters
whatdescription of what went wrong parsing the line
file_namename of source file where error occurred
lineline number in source file where error occurred

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