Exception class for LAr online Identifiers.  
 More...
#include <LArOnlID_Exception.h>
Exception class for LAr online Identifiers. 
- Author
- Johann Collot , Brinick Simmons 
- Version
- 00-00-00 
- Since
- 00-00-00 
Definition at line 16 of file LArOnlID_Exception.h.
◆ LArOnlID_Exception() [1/2]
  
  | 
        
          | LArOnlID_Exception::LArOnlID_Exception | ( |  | ) |  |  | inline | 
 
 
◆ LArOnlID_Exception() [2/2]
  
  | 
        
          | LArOnlID_Exception::LArOnlID_Exception | ( | const std::string & | l_message, |  
          |  |  | int | l_code |  
          |  | ) |  |  |  | inline | 
 
 
◆ ~LArOnlID_Exception()
  
  | 
        
          | virtual LArOnlID_Exception::~LArOnlID_Exception | ( |  | ) |  |  | inlinevirtual | 
 
 
◆ code() [1/2]
  
  | 
        
          | virtual int LArOnlID_Exception::code | ( |  | ) | const |  | inlinevirtual | 
 
return error code 
 
error codes : 
 0 : no error 
 1 : at least 1 field was given a crazy value 
 2 : at least 1 field was given a value out of the allowed range 
 3 : wrong febID 
 4 : wrong feedthroughID 
 5 : channel value out of range 6 : slot and/or channel value out of range 999 : undefined error 
 
Definition at line 57 of file LArOnlID_Exception.h.
 
 
◆ code() [2/2]
  
  | 
        
          | void LArOnlID_Exception::code | ( | int | l_code | ) |  |  | inline | 
 
 
◆ message() [1/2]
  
  | 
        
          | virtual std::string LArOnlID_Exception::message | ( |  | ) | const |  | inlinevirtual | 
 
 
◆ message() [2/2]
  
  | 
        
          | void LArOnlID_Exception::message | ( | const std::string & | l_message | ) |  |  | inline | 
 
 
◆ operator std::string()
  
  | 
        
          | LArOnlID_Exception::operator std::string | ( |  | ) |  |  | virtual | 
 
Definition at line 10 of file LArOnlID_Exception.cxx.
   14   char * l_str = 
new char[200];
 
   16   std::string errorMessage ;
 
   17   sprintf(l_str,
"LArOnlID_Exception - Error code: %d ", this->
code());
 
   18   errorMessage += std::string(l_str);
 
   20   errorMessage += this->
message() ;
 
 
 
 
◆ m_code
  
  | 
        
          | int LArOnlID_Exception::m_code |  | private | 
 
 
◆ m_message
  
  | 
        
          | std::string LArOnlID_Exception::m_message |  | private | 
 
 
The documentation for this class was generated from the following files: