Util::Exception Class Reference

#include <Exceptions.h>

Inheritance diagram for Util::Exception:
Inheritance graph
[legend]
Collaboration diagram for Util::Exception:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Exception ()
 Exception (std::string strMessage, const StringVector &vecParemeters=StringVector())
 Exception (const Exception &ex)
virtual ~Exception ()
Exceptionoperator<< (char pchar)
Exceptionoperator<< (int pint)
Exceptionoperator<< (long plong)
Exceptionoperator<< (const std::string &pstr)
Exceptionoperator<< (float pfloat)
Exceptionoperator<< (double pdoub)
std::string getErrorMessage (bool bSubstitute=true) const
std::string getParameter (int iPos) const
size_t getParameterCount () const
virtual std::string getKind () const

Static Public Attributes

static const char PM_CHAR = 'c'
static const char PM_STRING = 's'
static const char PM_INTEGER = 'i'
static const char PM_LONG = 'l'
static const char PM_FLOAT = 'f'
static const char PM_DOUBLE = 'd'

Protected Member Functions

void addParameter (const std::string &strParameter)

Detailed Description

Definition at line 87 of file Exceptions.h.


Constructor & Destructor Documentation

Util::Exception::Exception (  ) 

Definition at line 132 of file Exceptions.cpp.

Util::Exception::Exception ( std::string  strMessage,
const StringVector vecParemeters = StringVector() 
)

Reimplemented in BON::Exception, and MON::Exception.

Definition at line 142 of file Exceptions.cpp.

Util::Exception::Exception ( const Exception ex  ) 

Definition at line 147 of file Exceptions.cpp.

virtual Util::Exception::~Exception (  )  [inline, virtual]

Reimplemented in BON::Exception, and MON::Exception.

Definition at line 111 of file Exceptions.h.


Member Function Documentation

void Util::Exception::addParameter ( const std::string strParameter  )  [protected]

Definition at line 178 of file Exceptions.cpp.

std::string Util::Exception::getErrorMessage ( bool  bSubstitute = true  )  const

Definition at line 152 of file Exceptions.cpp.

std::string Util::Exception::getKind (  )  const [virtual]

Reimplemented in BON::Exception, and MON::Exception.

Definition at line 183 of file Exceptions.cpp.

std::string Util::Exception::getParameter ( int  iPos  )  const

Definition at line 168 of file Exceptions.cpp.

size_t Util::Exception::getParameterCount (  )  const

Definition at line 173 of file Exceptions.cpp.

Exception & Util::Exception::operator<< ( double  pdoub  ) 

Definition at line 111 of file Exceptions.cpp.

Exception & Util::Exception::operator<< ( float  pfloat  ) 

Definition at line 103 of file Exceptions.cpp.

Exception & Util::Exception::operator<< ( const std::string pstr  ) 

Definition at line 97 of file Exceptions.cpp.

Exception & Util::Exception::operator<< ( long  plong  ) 

Definition at line 89 of file Exceptions.cpp.

Exception & Util::Exception::operator<< ( int  pint  ) 

Definition at line 81 of file Exceptions.cpp.

Exception & Util::Exception::operator<< ( char  pchar  ) 

Definition at line 75 of file Exceptions.cpp.


Member Data Documentation

const char Util::Exception::PM_CHAR = 'c' [static]

Definition at line 92 of file Exceptions.h.

const char Util::Exception::PM_DOUBLE = 'd' [static]

Definition at line 97 of file Exceptions.h.

const char Util::Exception::PM_FLOAT = 'f' [static]

Definition at line 96 of file Exceptions.h.

const char Util::Exception::PM_INTEGER = 'i' [static]

Definition at line 94 of file Exceptions.h.

const char Util::Exception::PM_LONG = 'l' [static]

Definition at line 95 of file Exceptions.h.

const char Util::Exception::PM_STRING = 's' [static]

Definition at line 93 of file Exceptions.h.


The documentation for this class was generated from the following files:
Generated on Thu May 30 15:55:33 2013 for GME by  doxygen 1.6.3