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_)
 

For internal use only.

Constructor for use by constructors of derived classes.


 LogicError (const std::string &msg_, const std::string &context_, const char *type_, int errno_)
 

For internal use only.

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 147 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]

For internal use only.

Constructor for use by constructors of derived classes.

Definition at line 152 of file error.h.

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

For internal use only.

Constructor for use by constructors of derived classes.

Definition at line 158 of file error.h.


The documentation for this class was generated from the following file:
Documentation for Xapian (version 1.0.10).
Generated on 24 Dec 2008 by Doxygen 1.5.2.