1 #ifndef TPCCONDDATA_EXCEPTION_H
2 #define TPCCONDDATA_EXCEPTION_H 1
41 message =
"tpcconddata::Exception: " + text;
44 Exception(
const std::string& ClassName,
const std::string& Message) :
45 message(std::string(
"marlintpc::Exception in object of class ")
46 + ClassName +
" : " + Message)
51 virtual const char* what()
const throw()
53 return (message.c_str());
80 message =
"tpcconddata::ConditionsObjectException: " + text;
99 message =
"tpcconditions::CondDataNotAvailableException: " + text;
119 message =
"tpcconditions::CondDataWrongObjectException: " + text;
146 const std::string& Message) :
ConditionObjectException used for errors accessing the event data.
Definition: TPCCondDataExeptions.h:62
Base exception for error involving some data having an invalid value.
Definition: TPCCondDataExeptions.h:129
ConditionsObjectException used for data not available.
Definition: TPCCondDataExeptions.h:87
Exception class for MarlinTPC conditions.
Definition: TPCCondDataExeptions.h:20
ConditionsObjectException used for wrong object.
Definition: TPCCondDataExeptions.h:107