Xapian::LogicError Class Reference

The base class for exceptions indicating errors in the program logic. More...

#include <error.h>

Inheritance diagram for Xapian::LogicError:

Inheritance graph
[legend]
Collaboration diagram for Xapian::LogicError:

Collaboration graph
[legend]

List of all members.

Private Member Functions

 LogicError (const std::string &msg_, const std::string &context_, const char *type_, const char *error_string_)
 Constructor for use by constructors of derived classes.
 LogicError (const std::string &msg_, const std::string &context_, const char *type_, int errno_)
 Constructor for use by constructors of derived classes.


Detailed Description

The base class for exceptions indicating errors in the program logic.

A subclass of LogicError will be thrown if Xapian detects a violation of a class invariant or a logical precondition or postcondition, etc.

Definition at line 131 of file error.h.


Constructor & Destructor Documentation

Xapian::LogicError::LogicError ( const std::string &  msg_,
const std::string &  context_,
const char *  type_,
const char *  error_string_ 
) [inline, private]

Constructor for use by constructors of derived classes.

For internal use only.

Definition at line 136 of file error.h.

Xapian::LogicError::LogicError ( const std::string &  msg_,
const std::string &  context_,
const char *  type_,
int  errno_ 
) [inline, private]

Constructor for use by constructors of derived classes.

For internal use only.

Definition at line 142 of file error.h.


The documentation for this class was generated from the following file:

Documentation for Xapian (version 1.2.13).
Generated on 9 Jan 2013 by Doxygen 1.5.9.