1#ifndef PFLIB_EXCEPTION_H_
2#define PFLIB_EXCEPTION_H_
106#define PFEXCEPTION_RAISE(EXCEPTION, MSG) \
107 throw pflib::Exception(EXCEPTION, MSG, __FILE__, __LINE__, __FUNCTION__)
PFlib.
Definition Exception.h:12
const std::string & module() const
Get the source filename where the exception occurred.
Definition Exception.h:58
std::string name_
Exception name.
Definition Exception.h:80
std::string message_
Error message.
Definition Exception.h:83
const std::string & function() const
Get the function name where the exception occurred.
Definition Exception.h:64
int line_
Source line number where the exception occurred.
Definition Exception.h:92
int line() const
Get the source line number where the exception occurred.
Definition Exception.h:70
std::string module_
Source filename where the exception occurred.
Definition Exception.h:86
const std::string & message() const
Get the message of the exception.
Definition Exception.h:52
Exception()
Empty constructor.
Definition Exception.h:19
virtual const char * what() const
The error message.
Definition Exception.h:76
virtual ~Exception()
Class destructor.
Definition Exception.h:40
Exception(const std::string &name, const std::string &message, const std::string &module, int line, const std::string &function)
Class constructor.
Definition Exception.h:29
std::string function_
Function name where the exception occurred.
Definition Exception.h:89
const std::string & name() const
Get the name of the exception.
Definition Exception.h:46
This version of the fast control code interfaces with the CMS Fast control library which can be contr...
Definition Backend.cxx:3