Exception class for Zdc Identifiers.
More...
#include <ZdcID_Exception.h>
|
| | ZdcID_Exception () |
| | default constructor
|
| | ZdcID_Exception (const std::string &l_message, int l_code) |
| | constructor to be used
|
| void | message (const std::string &l_message) |
| | set error message
|
| virtual std::string | message () const |
| | return error message
|
| void | code (int l_code) |
| | set error code number
|
| virtual int | code () const |
| | return error code
|
| virtual | ~ZdcID_Exception () |
| | destructor
|
Exception class for Zdc Identifiers.
- Author
- Alexander Solodkov
Definition at line 16 of file ZdcID_Exception.h.
◆ ZdcID_Exception() [1/2]
| ZdcID_Exception::ZdcID_Exception |
( |
| ) |
|
|
inline |
default constructor
Definition at line 22 of file ZdcID_Exception.h.
std::string m_message
error message
◆ ZdcID_Exception() [2/2]
| ZdcID_Exception::ZdcID_Exception |
( |
const std::string & | l_message, |
|
|
int | l_code ) |
|
inline |
◆ ~ZdcID_Exception()
| virtual ZdcID_Exception::~ZdcID_Exception |
( |
| ) |
|
|
inlinevirtual |
◆ code() [1/2]
| virtual int ZdcID_Exception::code |
( |
| ) |
const |
|
inlinevirtual |
return error code
error codes : 0 : no error 1 : Logical ID is out of range 2 : Hardware ID is out of range 3 : No PMT for this logical ID (invalid logical ID) 4 : No PMT for this channel (not connected) 9 : ID compactification Error 11 : id is not an ZdcCal logical identifier 12 : id is not an ZdcCal hardware identifier 19 : no IDCompactor available ( null pointer ) 999 : undefined error
Definition at line 59 of file ZdcID_Exception.h.
◆ code() [2/2]
| void ZdcID_Exception::code |
( |
int | l_code | ) |
|
|
inline |
◆ message() [1/2]
| virtual std::string ZdcID_Exception::message |
( |
| ) |
const |
|
inlinevirtual |
◆ message() [2/2]
| void ZdcID_Exception::message |
( |
const std::string & | l_message | ) |
|
|
inline |
◆ m_code
| int ZdcID_Exception::m_code |
|
private |
◆ m_message
| std::string ZdcID_Exception::m_message |
|
private |
The documentation for this class was generated from the following file: