Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

xmlBase::ParseException Class Reference

Exception class for XmlParser, XmlErrorHandler. More...

#include <XmlErrorHandler.h>

List of all members.

Public Member Functions

virtual std::string getMsg ()
virtual std::string getMsg ()
 ParseException (const std::string &extraInfo="")
 ParseException (const std::string &extraInfo="")
virtual const char * what ()
virtual const char * what ()
virtual ~ParseException () throw ()
virtual ~ParseException () throw ()

Protected Attributes

std::string m_name

Private Attributes

std::string m_extra


Detailed Description

Exception class for XmlParser, XmlErrorHandler.


Constructor & Destructor Documentation

xmlBase::ParseException::ParseException const std::string &  extraInfo = ""  )  [inline]
 

00018                                                     : std::exception(),
00019       m_name("ParseException"), m_extra(extraInfo) {}

virtual xmlBase::ParseException::~ParseException  )  throw () [inline, virtual]
 

00020 {}

xmlBase::ParseException::ParseException const std::string &  extraInfo = ""  )  [inline]
 

00018                                                     : std::exception(),
00019       m_name("ParseException"), m_extra(extraInfo) {}

virtual xmlBase::ParseException::~ParseException  )  throw () [inline, virtual]
 

00020 {}


Member Function Documentation

virtual std::string xmlBase::ParseException::getMsg  )  [inline, virtual]
 

00021                                {
00022       std::string msg = m_name + ": " + m_extra;
00023       return msg;}

virtual std::string xmlBase::ParseException::getMsg  )  [inline, virtual]
 

00021                                {
00022       std::string msg = m_name + ": " + m_extra;
00023       return msg;}

virtual const char* xmlBase::ParseException::what  )  [inline, virtual]
 

00024                                {
00025       return m_extra.c_str();
00026     }

virtual const char* xmlBase::ParseException::what  )  [inline, virtual]
 

00024                                {
00025       return m_extra.c_str();
00026     }


Member Data Documentation

std::string xmlBase::ParseException::m_extra [private]
 

std::string xmlBase::ParseException::m_name [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 19:24:58 2011 for BOSS6.5.5 by  doxygen 1.3.9.1