eRPC Generator (erpcgen)  Rev. 1.12.0
NXP Semiconductors
erpcgen::syntax_error2 Class Reference

Exception class for syntax errors. More...

#include <ParseErrors.hpp>

Inheritance diagram for erpcgen::syntax_error2:
erpcgen::erpc_error

Public Member Functions

 syntax_error2 (const std::string &__arg, token_loc_t loc, std::string &fileName)
 Exception function for syntax errors. More...
 
 syntax_error2 (const char *__arg, token_loc_t loc, std::string &fileName)
 Exception function for syntax errors. More...
 
virtual const char * what () const NOEXCEPT NOTHROW
 Returns formatted error message. More...
 
- Public Member Functions inherited from erpcgen::erpc_error
 erpc_error (const std::string &__arg)
 Exception function for eRPC errors. More...
 

Additional Inherited Members

- Protected Member Functions inherited from erpcgen::erpc_error
 erpc_error (const std::string &__arg, const std::string &errorName)
 Exception function for eRPC errors. More...
 
- Protected Attributes inherited from erpcgen::erpc_error
std::string m_message
 
std::string m_errName
 

Detailed Description

Exception class for syntax errors.

Constructor & Destructor Documentation

erpcgen::syntax_error2::syntax_error2 ( const std::string &  __arg,
token_loc_t  loc,
std::string &  fileName 
)
inlineexplicit

Exception function for syntax errors.

Parameters
[in]__argException error message.
[in]locLocation of token.
[in]fileNameFile name where error occurred.
erpcgen::syntax_error2::syntax_error2 ( const char *  __arg,
token_loc_t  loc,
std::string &  fileName 
)
inlineexplicit

Exception function for syntax errors.

Parameters
[in]__argException error message.
[in]locLocation of token for which error occurred.
[in]fileNameFile name where error occurred.

Member Function Documentation

const char * syntax_error2::what ( ) const
virtual

Returns formatted error message.

Returns
Formatted error message.

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