An xception class that is thrown when attempting to bind a DataRep to a NTuple with a column name that doesn't exist. More...
#include <DataRepException.h>
Public Member Functions | |
DataRepException (const std::string &type) | |
Constructor taking the bad binding lable type as argument. | |
DataRepException (const DataRepException &) | |
The copy constructor. | |
virtual const char * | what () const throw () |
The standard method to return a string giving message about the cause of the exception. | |
virtual | ~DataRepException () throw () |
The virtual destructor. | |
Private Attributes | |
std::string | m_type |
The binding label that could not be found in NTuple. |
An xception class that is thrown when attempting to bind a DataRep to a NTuple with a column name that doesn't exist.
The class contains the error message with the name of the bad column label.
Definition at line 37 of file DataRepException.h.
builddir build BUILD HippoDraw datareps DataRepException cxx DataRepException | ( | const std::string & | type | ) |
Constructor taking the bad binding lable type as argument.
Definition at line 20 of file DataRepException.cxx.
References DataRepException::m_type, and num_util::type().
DataRepException | ( | const DataRepException & | e | ) |
The copy constructor.
Definition at line 26 of file DataRepException.cxx.
References DataRepException::m_type.
~DataRepException | ( | ) | throw () [virtual] |
The virtual destructor.
Appears that the required declaration has to be the same as the base class, according to GCC 3.2.1.
Definition at line 33 of file DataRepException.cxx.
const char * what | ( | ) | const throw () [virtual] |
The standard method to return a string giving message about the cause of the exception.
Definition at line 39 of file DataRepException.cxx.
References DataRepException::m_type.
std::string m_type [private] |
The binding label that could not be found in NTuple.
Definition at line 42 of file DataRepException.h.
Referenced by DataRepException::DataRepException(), and DataRepException::what().