CMS 3D CMS Logo

SimG4Exception Class Reference

Generic mantis exception. More...

#include <SimG4Core/Notification/interface/SimG4Exception.h>

List of all members.

Public Member Functions

 SimG4Exception (const std::string &message)
virtual const char * what () const throw ()
virtual ~SimG4Exception () throw ()

Private Attributes

std::string error_


Detailed Description

Generic mantis exception.

Can be thrown directly, or derived from. SimG4 should (ideally) only throw exceptions derived from this class.

Definition at line 13 of file SimG4Exception.h.


Constructor & Destructor Documentation

SimG4Exception::SimG4Exception ( const std::string &  message  )  [inline]

Definition at line 16 of file SimG4Exception.h.

00016 : error_(message) {}

virtual SimG4Exception::~SimG4Exception (  )  throw () [inline, virtual]

Definition at line 17 of file SimG4Exception.h.

00017 {}


Member Function Documentation

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

Definition at line 18 of file SimG4Exception.h.

References error_.

Referenced by OscarProducer::produce().

00018 { return error_.c_str(); }


Member Data Documentation

std::string SimG4Exception::error_ [private]

Definition at line 20 of file SimG4Exception.h.

Referenced by what().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:31:32 2009 for CMSSW by  doxygen 1.5.4