Xapian::RangeError Class Reference

RangeError indicates an attempt to access outside the bounds of a container. More...

#include <error.h>

Inheritance diagram for Xapian::RangeError:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 RangeError (const std::string &msg_, const std::string &context_=std::string(), int errno_=0)
 General purpose constructor.
 RangeError (const std::string &msg_, int errno_)
 Construct from message and errno value.

Private Member Functions

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


Detailed Description

RangeError indicates an attempt to access outside the bounds of a container.

Definition at line 936 of file error.h.


Constructor & Destructor Documentation

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

Private constructor for use by remote backend.

For internal use only.

Parameters:
error_string_ Optional string describing error. May be NULL.

Definition at line 943 of file error.h.

Xapian::RangeError::RangeError ( const std::string &  msg_,
const std::string &  context_ = std::string(),
int  errno_ = 0 
) [inline, explicit]

General purpose constructor.

Parameters:
msg_ Message giving details of the error, intended for human consumption.
context_ Optional context information for this error.
errno_ Optional errno value associated with this error.

Definition at line 952 of file error.h.

Xapian::RangeError::RangeError ( const std::string &  msg_,
int  errno_ 
) [inline]

Construct from message and errno value.

Parameters:
msg_ Message giving details of the error, intended for human consumption.
errno_ Optional errno value associated with this error.

Definition at line 960 of file error.h.

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

Xapian::RangeError::RangeError ( 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 972 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.