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

◆ Exception()

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

Definition at line 42 of file CSCDQM_Exception.h.

42 { this->message = message; }

References message.

◆ ~Exception()

cscdqm::Exception::~Exception ( )
throw (
)
inlineoverride

Definition at line 44 of file CSCDQM_Exception.h.

44 {}

Member Function Documentation

◆ what()

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

Definition at line 46 of file CSCDQM_Exception.h.

46 { return message.c_str(); }

References message.

Member Data Documentation

◆ message

std::string cscdqm::Exception::message
private
cscdqm::Exception::message
std::string message
Definition: CSCDQM_Exception.h:39