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 ()
 
const char * what () const override throw ()
 
 ~Exception () override 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  }
cscdqm::Exception::~Exception ( )
throw (
)
inlineoverride

Definition at line 48 of file CSCDQM_Exception.h.

48 { }

Member Function Documentation

const char* cscdqm::Exception::what ( ) const
throw (
)
inlineoverride

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