BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
rdbModel::RdbException Class Reference

#include <RdbException.h>

Inheritance diagram for rdbModel::RdbException:

Public Member Functions

 RdbException (const std::string &extraInfo="", int code=0)
virtual ~RdbException () throw ()
virtual std::string getMsg ()
virtual int getCode () const
virtual const char * what ()
 RdbException (const std::string &extraInfo="", int code=0)
virtual ~RdbException () throw ()
virtual std::string getMsg ()
virtual int getCode () const
virtual const char * what ()
 RdbException (const std::string &extraInfo="", int code=0)
virtual ~RdbException () throw ()
virtual std::string getMsg ()
virtual int getCode () const
virtual const char * what ()

Protected Attributes

std::string m_name

Detailed Description

Constructor & Destructor Documentation

◆ RdbException() [1/3]

rdbModel::RdbException::RdbException ( const std::string & extraInfo = "",
int code = 0 )
inline

Definition at line 11 of file Calibration/rdbModel/include/rdbModel/RdbException.h.

12 : std::exception(), m_name( "RdbException" ), m_extra( extraInfo ), m_code( code ) {}

◆ ~RdbException() [1/3]

virtual rdbModel::RdbException::~RdbException ( )
throw ( )
inlinevirtual

Definition at line 13 of file Calibration/rdbModel/include/rdbModel/RdbException.h.

13{}

◆ RdbException() [2/3]

rdbModel::RdbException::RdbException ( const std::string & extraInfo = "",
int code = 0 )
inline

Definition at line 11 of file InstallArea/x86_64-el9-gcc13-dbg/include/rdbModel/RdbException.h.

12 : std::exception(), m_name( "RdbException" ), m_extra( extraInfo ), m_code( code ) {}

◆ ~RdbException() [2/3]

virtual rdbModel::RdbException::~RdbException ( )
throw ( )
inlinevirtual

◆ RdbException() [3/3]

rdbModel::RdbException::RdbException ( const std::string & extraInfo = "",
int code = 0 )
inline

Definition at line 11 of file InstallArea/x86_64-el9-gcc13-opt/include/rdbModel/RdbException.h.

12 : std::exception(), m_name( "RdbException" ), m_extra( extraInfo ), m_code( code ) {}

◆ ~RdbException() [3/3]

virtual rdbModel::RdbException::~RdbException ( )
throw ( )
inlinevirtual

Member Function Documentation

◆ getCode() [1/3]

virtual int rdbModel::RdbException::getCode ( ) const
inlinevirtual

Definition at line 18 of file Calibration/rdbModel/include/rdbModel/RdbException.h.

18{ return m_code; }

Referenced by main().

◆ getCode() [2/3]

virtual int rdbModel::RdbException::getCode ( ) const
inlinevirtual

Definition at line 18 of file InstallArea/x86_64-el9-gcc13-dbg/include/rdbModel/RdbException.h.

18{ return m_code; }

◆ getCode() [3/3]

virtual int rdbModel::RdbException::getCode ( ) const
inlinevirtual

Definition at line 18 of file InstallArea/x86_64-el9-gcc13-opt/include/rdbModel/RdbException.h.

18{ return m_code; }

◆ getMsg() [1/3]

virtual std::string rdbModel::RdbException::getMsg ( )
inlinevirtual

◆ getMsg() [2/3]

virtual std::string rdbModel::RdbException::getMsg ( )
inlinevirtual

Definition at line 14 of file InstallArea/x86_64-el9-gcc13-dbg/include/rdbModel/RdbException.h.

14 {
15 std::string msg = m_name + ": " + m_extra;
16 return msg;
17 }

◆ getMsg() [3/3]

virtual std::string rdbModel::RdbException::getMsg ( )
inlinevirtual

Definition at line 14 of file InstallArea/x86_64-el9-gcc13-opt/include/rdbModel/RdbException.h.

14 {
15 std::string msg = m_name + ": " + m_extra;
16 return msg;
17 }

◆ what() [1/3]

virtual const char * rdbModel::RdbException::what ( )
inlinevirtual

Definition at line 19 of file Calibration/rdbModel/include/rdbModel/RdbException.h.

19{ return m_extra.c_str(); }

◆ what() [2/3]

virtual const char * rdbModel::RdbException::what ( )
inlinevirtual

Definition at line 19 of file InstallArea/x86_64-el9-gcc13-dbg/include/rdbModel/RdbException.h.

19{ return m_extra.c_str(); }

◆ what() [3/3]

virtual const char * rdbModel::RdbException::what ( )
inlinevirtual

Definition at line 19 of file InstallArea/x86_64-el9-gcc13-opt/include/rdbModel/RdbException.h.

19{ return m_extra.c_str(); }

Member Data Documentation

◆ m_name

std::string rdbModel::RdbException::m_name
protected

Definition at line 22 of file Calibration/rdbModel/include/rdbModel/RdbException.h.

Referenced by getMsg(), and RdbException().


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