CMS 3D CMS Logo

BaseGenexception Class Reference

base generic exception More...

#include <Utilities/General/interface/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 (const std::string &mess) throw ()
 BaseGenexception () 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().

00047 {}

BaseGenexception::BaseGenexception ( const std::string &  mess  )  throw ()

Definition at line 50 of file CMSexception.cc.

00050                                                                  : 
00051   message(mess) {}

BaseGenexception::~BaseGenexception (  )  throw () [virtual]

Definition at line 53 of file CMSexception.cc.

00053                                             {
00054   /* cout << "deleting a BaseGenexception " << message << " at " << this << endl; */
00055 }


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().

00045 { 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.

00046 { throw *this;}

virtual const char* BaseGenexception::what (  )  const throw () [inline, virtual]

Implements CMSexception.

Definition at line 44 of file CMSexception.h.

References message.

Referenced by Genexception::dump().

00044 { return message.c_str();}


Member Data Documentation

std::string BaseGenexception::message [private]

Definition at line 49 of file CMSexception.h.

Referenced by what().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:14:51 2009 for CMSSW by  doxygen 1.5.4