#include <string>
#include <xapian/errortypes.h>
Include dependency graph for error.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | Xapian |
Classes | |
class | Xapian::Error |
All exceptions thrown by Xapian are subclasses of Xapian::Error. More... | |
Defines | |
#define | XAPIAN_EXCEPTION_EXPORT |
#define | XAPIAN_DEFINE_ERROR_BASECLASS(CLASS, PARENT) |
For internal use only. Macro to define an abstract Xapian::Error subclass. | |
#define | XAPIAN_DEFINE_ERROR_CLASS(CLASS, PARENT) |
For internal use only. Macro to define a concrete Xapian::Error subclass. |
|
Value: class XAPIAN_EXCEPTION_EXPORT CLASS : public PARENT { \ protected: \ \ CLASS(const std::string &msg_, const std::string &context_, \ const char * type_, int errno_) \ : PARENT(msg_, context_, type_, errno_) {} \ } For internal use only. Macro to define an abstract Xapian::Error subclass.
|
|
Value: class XAPIAN_EXCEPTION_EXPORT CLASS : public PARENT { \ public: \ \ CLASS(const std::string &msg_, const std::string &context_ = "", \ int errno_ = 0) \ : PARENT(msg_, context_, #CLASS, errno_) {} \ \ CLASS(const std::string &msg_, int errno_) \ : PARENT(msg_, "", #CLASS, errno_) {} \ protected: \ \ CLASS(const std::string &msg_, const std::string &context_, \ const char * type_, int errno_) \ : PARENT(msg_, context_, type_, errno_) {} \ } For internal use only. Macro to define a concrete Xapian::Error subclass.
|