CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
cscdqm::Exception Class Reference

Application level Exception that is used to cut-off application execution in various cases. More...

#include <CSCDQM_Exception.h>

Inheritance diagram for cscdqm::Exception:

Public Member Functions

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

Private Attributes

std::string message
 

Detailed Description

Application level Exception that is used to cut-off application execution in various cases.

Definition at line 37 of file CSCDQM_Exception.h.

Constructor & Destructor Documentation

cscdqm::Exception::Exception ( const std::string &  message)
throw (
)
inline

Definition at line 44 of file CSCDQM_Exception.h.

References message.

Referenced by cscdqm::XMLFileErrorHandler::fatalError().

44  {
45  this->message = message;
46  }
virtual cscdqm::Exception::~Exception ( )
throw (
)
inlinevirtual

Definition at line 48 of file CSCDQM_Exception.h.

48 { }

Member Function Documentation

virtual const char* cscdqm::Exception::what ( ) const
throw (
)
inlinevirtual

Definition at line 50 of file CSCDQM_Exception.h.

50  {
51  return message.c_str();
52  }

Member Data Documentation

std::string cscdqm::Exception::message
private