CMS 3D CMS Logo

Public Member Functions | Private Attributes

BaseGenexception Class Reference

#include <CMSexception.h>

Inheritance diagram for BaseGenexception:
CMSexception cms::Exception Genexception Capri::Error GenTerminate Capri::Fatal Capri::Severe Capri::Warning

List of all members.

Public Member Functions

 BaseGenexception () throw ()
 BaseGenexception (const std::string &mess) throw ()
virtual cms::Exceptionclone (void) const
virtual void rethrow (void)
virtual const char * what () const throw ()
virtual ~BaseGenexception () throw ()

Private Attributes

std::string message

Detailed Description

base generic exception

Definition at line 39 of file CMSexception.h.


Constructor & Destructor Documentation

BaseGenexception::BaseGenexception ( ) throw ()

Definition at line 47 of file CMSexception.cc.

Referenced by clone().

{}
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; */
}

Member Function Documentation

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();}

Member Data Documentation

std::string BaseGenexception::message [private]

Definition at line 49 of file CMSexception.h.

Referenced by what().