ATLAS Offline Software
|
Exception class for Calo Identifiers. More...
#include <CaloID_Exception.h>
Public Member Functions | |
CaloID_Exception () | |
default constructor More... | |
CaloID_Exception (const std::string &lMessage, int lCode) | |
constructor to be used More... | |
void | message (const std::string &lMessage) |
set error message More... | |
const std::string & | message () const |
return error message More... | |
void | code (int lCode) |
set error code number More... | |
int | code () const |
return error code More... | |
operator std::string () const | |
Private Attributes | |
std::string | m_message |
error message More... | |
int | m_code |
error code More... | |
Exception class for Calo Identifiers.
Definition at line 20 of file CaloID_Exception.h.
CaloID_Exception::CaloID_Exception | ( | ) |
default constructor
Definition at line 11 of file CaloID_Exception.cxx.
CaloID_Exception::CaloID_Exception | ( | const std::string & | lMessage, |
int | lCode | ||
) |
constructor to be used
Definition at line 15 of file CaloID_Exception.cxx.
int CaloID_Exception::code | ( | ) | const |
return error code
error codes :
0 : no error
1 : CaloLVL1_ID::region_id Error
2 : CaloLVL1_ID::channel_id Error
3 : LArDM::region_id Error
4 : LArDM::zone_id Error
999 : undefined error
Definition at line 28 of file CaloID_Exception.cxx.
void CaloID_Exception::code | ( | int | lCode | ) |
const std::string & CaloID_Exception::message | ( | ) | const |
void CaloID_Exception::message | ( | const std::string & | lMessage | ) |
CaloID_Exception::operator std::string | ( | ) | const |
Definition at line 31 of file CaloID_Exception.cxx.
|
private |
error code
Definition at line 74 of file CaloID_Exception.h.
|
private |
error message
Definition at line 69 of file CaloID_Exception.h.