#include <string>
#include "om/omtypes.h"
#include "om/omerrortypes.h"
Go to the source code of this file.
Compounds | |
class | OmError |
Base class for all Xapian-specific errors reported. More... | |
Defines | |
#define | DEFINE_ERROR_BASECLASS(a, b) |
#define | DEFINE_ERROR_CLASS(a, b) |
|
Value: class a : public b { \ protected: \ \ a(const std::string &msg_, \ const std::string &context_, \ const std::string &type_, \ int errno_value_) : b(msg_, context_, type_, errno_value_) {}; \ } |
|
Value: class a : public b { \ public: \ \ a(const std::string &msg_, \ const std::string &context_ = "", \ int errno_value_ = 0) : b(msg_, context_, #a, errno_value_) {}; \ \ a(const std::string &msg_, \ int errno_value_) : b(msg_, "", #a, errno_value_) {}; \ protected: \ \ a(const std::string &msg_, \ const std::string &context_, \ const std::string &type_, \ int errno_value_) : b(msg_, context_, type_, errno_value_) {}; \ } |