#include <Exceptions.h>
Public Member Functions | |
Exception () | |
Exception (std::string strMessage, const StringVector &vecParemeters=StringVector()) | |
Exception (const Exception &ex) | |
virtual | ~Exception () |
Exception & | operator<< (char pchar) |
Exception & | operator<< (int pint) |
Exception & | operator<< (long plong) |
Exception & | operator<< (const std::string &pstr) |
Exception & | operator<< (float pfloat) |
Exception & | operator<< (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) |
Definition at line 87 of file Exceptions.h.
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.
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.
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.