modules::parser::errors::unmatched_parenthesis Class Reference

#include <ModulesParser.h>

Inherits std::exception.

List of all members.

Public Member Functions

 unmatched_parenthesis (char open, char close)
virtual const char * what () const throw ()

Private Attributes

char fOpen
char fClose

Detailed Description

Definition at line 21 of file ModulesParser.h.


Constructor & Destructor Documentation

modules::parser::errors::unmatched_parenthesis::unmatched_parenthesis ( char  open,
char  close 
) [inline]

Definition at line 23 of file ModulesParser.h.

00023                                                     :
00024             fOpen(open),fClose(close){};
        virtual const char* what() const throw()


Member Function Documentation

virtual const char* modules::parser::errors::unmatched_parenthesis::what ( void   )  const throw () [inline, virtual]

Definition at line 25 of file ModulesParser.h.

References fClose, and fOpen.

00026         {
00027             std::string msg = "Unmatched parethensis '";
00028             msg+=fOpen;
00029             msg+="'. Looking for '";
00030             msg+=fClose;
00031             msg+="'.";
00032             return msg.c_str();
00033         }


Member Data Documentation

Definition at line 35 of file ModulesParser.h.

Referenced by what().

Definition at line 35 of file ModulesParser.h.

Referenced by what().


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

Generated on 15 Jun 2016 for AlcapDAQ by  doxygen 1.6.1