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

facilities::WrongType Class Reference

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

#include <Util.h>

List of all members.

Public Member Functions

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

Private Attributes

std::string m_toConvert
std::string m_typeName


Detailed Description

Exception class used when converting from string to numeric type.


Constructor & Destructor Documentation

facilities::WrongType::WrongType const std::string &  toConvert,
const std::string &  typeName
[inline]
 

00031                                                                      : 
00032       m_toConvert(toConvert), m_typeName(typeName) {}

facilities::WrongType::WrongType const std::string &  toConvert,
const std::string &  typeName
[inline]
 

00030                                                                      : 
00031       m_toConvert(toConvert), m_typeName(typeName) {}

facilities::WrongType::WrongType const std::string &  toConvert,
const std::string &  typeName
[inline]
 

00031                                                                      : 
00032       m_toConvert(toConvert), m_typeName(typeName) {}

facilities::WrongType::WrongType const std::string &  toConvert,
const std::string &  typeName
[inline]
 

00030                                                                      : 
00031       m_toConvert(toConvert), m_typeName(typeName) {}


Member Function Documentation

std::string facilities::WrongType::getMsg  )  [inline]
 

00032                        {
00033       std::string msg =
00034         "facilities::WrongType.  Cannot convert '" + m_toConvert + "' to type "
00035         + m_typeName;
00036       return msg;
00037     }

std::string facilities::WrongType::getMsg  )  [inline]
 

00033                        {
00034       std::string msg =
00035         "facilities::WrongType.  Cannot convert '" + m_toConvert + "' to type "
00036         + m_typeName;
00037       return msg;
00038     }

std::string facilities::WrongType::getMsg  )  [inline]
 

00032                        {
00033       std::string msg =
00034         "facilities::WrongType.  Cannot convert '" + m_toConvert + "' to type "
00035         + m_typeName;
00036       return msg;
00037     }

std::string facilities::WrongType::getMsg  )  [inline]
 

00033                        {
00034       std::string msg =
00035         "facilities::WrongType.  Cannot convert '" + m_toConvert + "' to type "
00036         + m_typeName;
00037       return msg;
00038     }


Member Data Documentation

std::string facilities::WrongType::m_toConvert [private]
 

std::string facilities::WrongType::m_typeName [private]
 


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