rad
2.0.0
|
Exception classes header file. More...
#include <rad/helper.hpp>
#include <rad/logger.hpp>
#include <boost/filesystem.hpp>
#include <list>
#include <sstream>
#include <stdexcept>
#include <string>
#include <thread>
Go to the source code of this file.
Classes | |
class | rad::Exception |
class | rad::RuntimeDbException |
class | rad::InvalidOptionException |
Namespaces | |
rad | |
rad::errorMsg | |
Macros | |
#define | RAD_EXCEPTION_INFO(component, proc_name, version, severity, tag, text) |
#define | RAD_THROW(msg, component, proc_name, version, severity, tag) |
#define | RAD_RETHROW(exception, component, proc_name, version, severity, tag, text) |
Variables | |
const char *const | rad::errorMsg::DB_API_NULL = "DB API returned NULL" |
const char *const | rad::errorMsg::DB_REPLY_ERR = "Received error reply from DB" |
const char *const | rad::errorMsg::DB_CONTEXT_ERR = "DB Context error" |
const char *const | rad::errorMsg::MSG_CONTEXT_ERR = "Error creating msg context" |
const char *const | rad::errorMsg::MSG_SOCKET_ERR = "Error creating socket" |
const char *const | rad::errorMsg::MSG_CONNECT_ERR = "Error connecting socket" |
const char *const | rad::errorMsg::MSG_BIND_ERR = "Error binding socket" |
const char *const | rad::errorMsg::MSG_CONFIG_ERR = "Error configuring socket" |
const char *const | rad::errorMsg::CFG_LOAD = "Loading configuration file" |
const char *const | rad::errorMsg::OPT_INVALID = "Invalid command line option" |
Exception classes header file.
#define RAD_EXCEPTION_INFO | ( | component, | |
proc_name, | |||
version, | |||
severity, | |||
tag, | |||
text | |||
) |
Macros to throw exceptions with diagnostics.
#define RAD_RETHROW | ( | exception, | |
component, | |||
proc_name, | |||
version, | |||
severity, | |||
tag, | |||
text | |||
) |
#define RAD_THROW | ( | msg, | |
component, | |||
proc_name, | |||
version, | |||
severity, | |||
tag | |||
) |