BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
xmlBase::DomException Class Reference

Base exception class for Dom. More...

#include <Dom.h>

+ Inheritance diagram for xmlBase::DomException:

Public Member Functions

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

Protected Attributes

std::string m_name
 

Detailed Description

Base exception class for Dom.

Definition at line 29 of file Calibration/xmlBase/xmlBase-00-00-03/xmlBase/Dom.h.

Constructor & Destructor Documentation

◆ DomException() [1/2]

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

Definition at line 31 of file Calibration/xmlBase/xmlBase-00-00-03/xmlBase/Dom.h.

31 : std::exception(),
32 m_name("DomException"), m_extra(extraInfo) {}

◆ ~DomException() [1/2]

virtual xmlBase::DomException::~DomException ( )
throw (
)
inlinevirtual

Definition at line 33 of file Calibration/xmlBase/xmlBase-00-00-03/xmlBase/Dom.h.

33{}

◆ DomException() [2/2]

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

Definition at line 31 of file InstallArea/include/xmlBase/xmlBase/Dom.h.

31 : std::exception(),
32 m_name("DomException"), m_extra(extraInfo) {}

◆ ~DomException() [2/2]

virtual xmlBase::DomException::~DomException ( )
throw (
)
inlinevirtual

Definition at line 33 of file InstallArea/include/xmlBase/xmlBase/Dom.h.

33{}

Member Function Documentation

◆ getMsg() [1/2]

virtual std::string xmlBase::DomException::getMsg ( )
inlinevirtual

Definition at line 34 of file Calibration/xmlBase/xmlBase-00-00-03/xmlBase/Dom.h.

34 {
35 std::string msg = m_name + ": " + m_extra;
36 return msg;}

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

◆ getMsg() [2/2]

virtual std::string xmlBase::DomException::getMsg ( )
inlinevirtual

Definition at line 34 of file InstallArea/include/xmlBase/xmlBase/Dom.h.

34 {
35 std::string msg = m_name + ": " + m_extra;
36 return msg;}

◆ what() [1/2]

virtual const char * xmlBase::DomException::what ( )
inlinevirtual

Definition at line 37 of file Calibration/xmlBase/xmlBase-00-00-03/xmlBase/Dom.h.

37 {
38 return m_extra.c_str();
39 }

◆ what() [2/2]

virtual const char * xmlBase::DomException::what ( )
inlinevirtual

Definition at line 37 of file InstallArea/include/xmlBase/xmlBase/Dom.h.

37 {
38 return m_extra.c_str();
39 }

Member Data Documentation

◆ m_name


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