10 #ifndef RETRIEVALEXCEPTIONS_H_    11 #define RETRIEVALEXCEPTIONS_H_    50 #define THROW_RETRIEVAL_EXC(retRes, objName)                                                                           \    52   case RetrievalResult::NOTAVAILABLE:                                                                                  \    53     throw Retrieval::NotAvailable("Object \"" + objName + "\" is not available");                                      \    55   case RetrievalResult::BADCLASS:                                                                                      \    56     throw Retrieval::BadClass("Bad class for object \"" + objName + "\"");                                             \    58   case RetrievalResult::NOTFOUND:                                                                                      \    59     throw Retrieval::NotFound("Object \"" + objName + "\" is not found");                                              \    61   case RetrievalResult::ERROR:                                                                                         \    62     throw Retrieval::Error("Error while retrieving object \"" + objName + "\"");                                       \    65     throw EA::Exception("Invalid RetrievalResult in THROW_RETRIEVAL_EXC");                                             \    71   excName = excName.substr(15);
 Exception(std::string msg="Exception")
Definition: RetrievalExceptions.h:23
 
static std::string ExcName(const Exception &exc)
Definition: RetrievalExceptions.h:68
 
Exception for generic error in object retrieve procedure. 
Definition: RetrievalExceptions.h:45
 
std::string ClassName(const T &obj)
Function which returns the name of the class. 
Definition: Demangler.h:30
 
IncludeFileExc.h IncludeFileExc class declaration. 
Definition: Algorithm.h:21
 
Base class for retrieval exceptions. 
Definition: RetrievalExceptions.h:21
 
NotFound(std::string msg="NotFound")
Definition: RetrievalExceptions.h:41
 
Exception for unknown object. 
Definition: RetrievalExceptions.h:39
 
Exception for object found but class does not match with requested. 
Definition: RetrievalExceptions.h:33
 
Error(std::string msg="Error")
Definition: RetrievalExceptions.h:47
 
NotAvailable(std::string msg="NotAvailable")
Definition: RetrievalExceptions.h:29
 
Definition: Exception.h:24
 
Exception for known object but not available at the moment. 
Definition: RetrievalExceptions.h:27
 
BadClass(std::string msg="BadClass")
Definition: RetrievalExceptions.h:35