Xapian::RuntimeError Class Reference

The base class for exceptions indicating errors only detectable at runtime. More...

#include <error.h>

Inheritance diagram for Xapian::RuntimeError:

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

Collaboration graph
[legend]

List of all members.

Private Member Functions

 RuntimeError (const std::string &msg_, const std::string &context_, const char *type_, const char *error_string_)
 Constructor for use by constructors of derived classes.
 RuntimeError (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 only detectable at runtime.

A subclass of RuntimeError will be thrown if Xapian detects an error which is exception derived from RuntimeError is thrown when an error is caused by problems with the data or environment rather than a programming mistake.

Definition at line 153 of file error.h.


Constructor & Destructor Documentation

Xapian::RuntimeError::RuntimeError ( 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 158 of file error.h.

Xapian::RuntimeError::RuntimeError ( 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 164 of file error.h.


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

Documentation for Xapian (version 1.2.8).
Generated on 14 Dec 2011 by Doxygen 1.5.9.