Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/xapian/error.h File Reference

Classes for exception handling. More...

#include <string>
#include <xapian/errortypes.h>

Include dependency graph for error.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  Xapian

Defines

#define DEFINE_ERROR_BASECLASS(a, b)
#define DEFINE_ERROR_CLASS(a, b)


Detailed Description

Classes for exception handling.


Define Documentation

#define DEFINE_ERROR_BASECLASS a,
 
 

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_) {} \
}

#define DEFINE_ERROR_CLASS a,
 
 

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_) {} \
}


Documentation for Xapian (version 0.7.2).
Generated on 8 Aug 2003 by Doxygen 1.2.15.