xmlBase::DomException Class Reference

Base exception class for Dom. More...

#include <Dom.h>

Inheritance diagram for xmlBase::DomException:

xmlBase::NullNode xmlBase::WrongAttributeType xmlBase::WrongNodeType List of all members.

Public Member Functions

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

Protected Attributes

std::string m_name

Private Attributes

std::string m_extra

Detailed Description

Base exception class for Dom.

Definition at line 29 of file Dom.h.


Constructor & Destructor Documentation

xmlBase::DomException::DomException ( const std::string extraInfo = ""  )  [inline]

Definition at line 31 of file Dom.h.

00031                                                   : std::exception(),
00032       m_name("DomException"), m_extra(extraInfo) {}

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

Definition at line 33 of file Dom.h.

00033 {}


Member Function Documentation

virtual std::string xmlBase::DomException::getMsg (  )  [inline, virtual]

Definition at line 34 of file Dom.h.

References m_extra, m_name, and deljobs::string.

Referenced by XmlTest1Cnv::i_createObj(), main(), and calibUtil::StripSrv::StripSrv().

00034                                {
00035       std::string msg = m_name + ": " + m_extra;
00036       return msg;}

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

Definition at line 37 of file Dom.h.

References m_extra.

00037                                {
00038       return m_extra.c_str();
00039     }


Member Data Documentation

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

Definition at line 43 of file Dom.h.

Referenced by getMsg(), and what().

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

Definition at line 41 of file Dom.h.

Referenced by getMsg(), xmlBase::NullNode::NullNode(), xmlBase::WrongAttributeType::WrongAttributeType(), and xmlBase::WrongNodeType::WrongNodeType().


Generated on Tue Nov 29 23:36:39 2016 for BOSS_7.0.2 by  doxygen 1.4.7