BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
facilities::WrongType Class Reference

Exception class used when converting from string to numeric type. More...

#include <Util.h>

Public Member Functions

 WrongType (const std::string &toConvert, const std::string &typeName)
 
std::string getMsg ()
 
 WrongType (const std::string &toConvert, const std::string &typeName)
 
std::string getMsg ()
 
 WrongType (const std::string &toConvert, const std::string &typeName)
 
std::string getMsg ()
 
 WrongType (const std::string &toConvert, const std::string &typeName)
 
std::string getMsg ()
 

Detailed Description

Exception class used when converting from string to numeric type.

Definition at line 29 of file Calibration/facilities/facilities-00-00-04/facilities/Util.h.

Constructor & Destructor Documentation

◆ WrongType() [1/4]

facilities::WrongType::WrongType ( const std::string &  toConvert,
const std::string &  typeName 
)
inline

Definition at line 31 of file Calibration/facilities/facilities-00-00-04/facilities/Util.h.

31 :
32 m_toConvert(toConvert), m_typeName(typeName) {}

◆ WrongType() [2/4]

facilities::WrongType::WrongType ( const std::string &  toConvert,
const std::string &  typeName 
)
inline

Definition at line 30 of file Event/RootCnvSvc/RootCnvSvc-02-01-13/RootCnvSvc/Util.h.

30 :
31 m_toConvert(toConvert), m_typeName(typeName) {}

◆ WrongType() [3/4]

facilities::WrongType::WrongType ( const std::string &  toConvert,
const std::string &  typeName 
)
inline

Definition at line 31 of file InstallArea/include/facilities/facilities/Util.h.

31 :
32 m_toConvert(toConvert), m_typeName(typeName) {}

◆ WrongType() [4/4]

facilities::WrongType::WrongType ( const std::string &  toConvert,
const std::string &  typeName 
)
inline

Definition at line 30 of file InstallArea/include/RootCnvSvc/RootCnvSvc/Util.h.

30 :
31 m_toConvert(toConvert), m_typeName(typeName) {}

Member Function Documentation

◆ getMsg() [1/4]

std::string facilities::WrongType::getMsg ( )
inline

◆ getMsg() [2/4]

std::string facilities::WrongType::getMsg ( )
inline

Definition at line 32 of file Event/RootCnvSvc/RootCnvSvc-02-01-13/RootCnvSvc/Util.h.

32 {
33 std::string msg =
34 "facilities::WrongType. Cannot convert '" + m_toConvert + "' to type "
35 + m_typeName;
36 return msg;
37 }

◆ getMsg() [3/4]

std::string facilities::WrongType::getMsg ( )
inline

Definition at line 33 of file InstallArea/include/facilities/facilities/Util.h.

33 {
34 std::string msg =
35 "facilities::WrongType. Cannot convert '" + m_toConvert + "' to type "
36 + m_typeName;
37 return msg;
38 }

◆ getMsg() [4/4]

std::string facilities::WrongType::getMsg ( )
inline

Definition at line 32 of file InstallArea/include/RootCnvSvc/RootCnvSvc/Util.h.

32 {
33 std::string msg =
34 "facilities::WrongType. Cannot convert '" + m_toConvert + "' to type "
35 + m_typeName;
36 return msg;
37 }

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