#include <CMSexception.h>
Public Member Functions | |
BaseGenexception () throw () | |
BaseGenexception (const std::string &mess) throw () | |
virtual cms::Exception * | clone (void) const |
virtual void | rethrow (void) |
virtual const char * | what () const throw () |
virtual | ~BaseGenexception () throw () |
Private Attributes | |
std::string | message |
base generic exception
Definition at line 39 of file CMSexception.h.
BaseGenexception::BaseGenexception | ( | ) | throw () |
BaseGenexception::BaseGenexception | ( | const std::string & | mess | ) | throw () |
Definition at line 50 of file CMSexception.cc.
: message(mess) {}
BaseGenexception::~BaseGenexception | ( | ) | throw () [virtual] |
Definition at line 53 of file CMSexception.cc.
{
/* cout << "deleting a BaseGenexception " << message << " at " << this << endl; */
}
virtual cms::Exception* BaseGenexception::clone | ( | void | ) | const [inline, virtual] |
Reimplemented from cms::Exception.
Reimplemented in Genexception.
Definition at line 45 of file CMSexception.h.
References BaseGenexception().
{ return new BaseGenexception(*this);}
virtual void BaseGenexception::rethrow | ( | void | ) | [inline, virtual] |
Reimplemented from cms::Exception.
Reimplemented in Genexception.
Definition at line 46 of file CMSexception.h.
{ throw *this;}
virtual const char* BaseGenexception::what | ( | ) | const throw () [inline, virtual] |
Implements CMSexception.
Definition at line 44 of file CMSexception.h.
References message.
{ return message.c_str();}
std::string BaseGenexception::message [private] |
Definition at line 49 of file CMSexception.h.
Referenced by what().