summaryrefslogtreecommitdiff
path: root/rep/usr/include/xapian/error.h.gcov.html
diff options
context:
space:
mode:
Diffstat (limited to 'rep/usr/include/xapian/error.h.gcov.html')
-rw-r--r--rep/usr/include/xapian/error.h.gcov.html822
1 files changed, 0 insertions, 822 deletions
diff --git a/rep/usr/include/xapian/error.h.gcov.html b/rep/usr/include/xapian/error.h.gcov.html
deleted file mode 100644
index 62fba9b..0000000
--- a/rep/usr/include/xapian/error.h.gcov.html
+++ /dev/null
@@ -1,822 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-
-<html lang="en">
-
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
- <title>LCOV - lcov.info - /usr/include/xapian/error.h</title>
- <link rel="stylesheet" type="text/css" href="../../../gcov.css">
-</head>
-
-<body>
-
- <table width="100%" border=0 cellspacing=0 cellpadding=0>
- <tr><td class="title">LTP GCOV extension - code coverage report</td></tr>
- <tr><td class="ruler"><img src="../../../glass.png" width=3 height=3 alt=""></td></tr>
-
- <tr>
- <td width="100%">
- <table cellpadding=1 border=0 width="100%">
- <tr>
- <td class="headerItem" width="20%">Current&nbsp;view:</td>
- <td class="headerValue" width="80%" colspan=4><a href="../../../index.html">directory</a> - <a href="index.html">usr/include/xapian</a> - error.h</td>
- </tr>
- <tr>
- <td class="headerItem" width="20%">Test:</td>
- <td class="headerValue" width="80%" colspan=4>lcov.info</td>
- </tr>
- <tr>
- <td class="headerItem" width="20%">Date:</td>
- <td class="headerValue" width="20%">2008-08-14</td>
- <td width="20%"></td>
- <td class="headerItem" width="20%">Instrumented&nbsp;lines:</td>
- <td class="headerValue" width="20%">3</td>
- </tr>
- <tr>
- <td class="headerItem" width="20%">Code&nbsp;covered:</td>
- <td class="headerValue" width="20%">0.0 %</td>
- <td width="20%"></td>
- <td class="headerItem" width="20%">Executed&nbsp;lines:</td>
- <td class="headerValue" width="20%">0</td>
- </tr>
- </table>
- </td>
- </tr>
- <tr><td class="ruler"><img src="../../../glass.png" width=3 height=3 alt=""></td></tr>
- </table>
-
- <table cellpadding=0 cellspacing=0 border=0>
- <tr>
- <td><br></td>
- </tr>
- <tr>
- <td><pre class="source">
-<span class="lineNum"> 1 </span> : /** @file error.h
-<span class="lineNum"> 2 </span> : * @brief Hierarchy of classes which Xapian can throw as exceptions.
-<span class="lineNum"> 3 </span> : */
-<span class="lineNum"> 4 </span> : /* Warning: This file is generated by ./generate-exceptions - do not modify directly! */
-<span class="lineNum"> 5 </span> : /* Copyright (C) 2003,2004,2006,2007 Olly Betts
-<span class="lineNum"> 6 </span> : *
-<span class="lineNum"> 7 </span> : * This program is free software; you can redistribute it and/or
-<span class="lineNum"> 8 </span> : * modify it under the terms of the GNU General Public License as
-<span class="lineNum"> 9 </span> : * published by the Free Software Foundation; either version 2 of the
-<span class="lineNum"> 10 </span> : * License, or (at your option) any later version.
-<span class="lineNum"> 11 </span> : *
-<span class="lineNum"> 12 </span> : * This program is distributed in the hope that it will be useful,
-<span class="lineNum"> 13 </span> : * but WITHOUT ANY WARRANTY; without even the implied warranty of
-<span class="lineNum"> 14 </span> : * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-<span class="lineNum"> 15 </span> : * GNU General Public License for more details.
-<span class="lineNum"> 16 </span> : *
-<span class="lineNum"> 17 </span> : * You should have received a copy of the GNU General Public License
-<span class="lineNum"> 18 </span> : * along with this program; if not, write to the Free Software
-<span class="lineNum"> 19 </span> : * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-<span class="lineNum"> 20 </span> : */
-<span class="lineNum"> 21 </span> :
-<span class="lineNum"> 22 </span> : #ifndef XAPIAN_INCLUDED_ERROR_H
-<span class="lineNum"> 23 </span> : #define XAPIAN_INCLUDED_ERROR_H
-<span class="lineNum"> 24 </span> :
-<span class="lineNum"> 25 </span> : #include &lt;string&gt;
-<span class="lineNum"> 26 </span> : #include &lt;xapian/deprecated.h&gt;
-<span class="lineNum"> 27 </span> : #include &lt;xapian/visibility.h&gt;
-<span class="lineNum"> 28 </span> :
-<span class="lineNum"> 29 </span> : namespace Xapian {
-<span class="lineNum"> 30 </span> :
-<span class="lineNum"> 31 </span> : class ErrorHandler;
-<span class="lineNum"> 32 </span> :
-<span class="lineNum"> 33 </span> : /** All exceptions thrown by Xapian are subclasses of Xapian::Error.
-<span class="lineNum"> 34 </span> : *
-<span class="lineNum"> 35 </span> : * This class can not be instantiated directly - instead a subclass should
-<span class="lineNum"> 36 </span> : * be used.
-<span class="lineNum"> 37 </span> : */
-<span class="lineNum"> 38 </span> : class XAPIAN_VISIBILITY_DEFAULT Error {
-<span class="lineNum"> 39 </span> : // ErrorHandler needs to be able to access Error::already_handled.
-<span class="lineNum"> 40 </span> : friend class ErrorHandler;
-<span class="lineNum"> 41 </span> :
-<span class="lineNum"> 42 </span> : /// Message giving details of the error, intended for human consumption.
-<span class="lineNum"> 43 </span> : std::string msg;
-<span class="lineNum"> 44 </span> :
-<span class="lineNum"> 45 </span> : /** Optional context information.
-<span class="lineNum"> 46 </span> : *
-<span class="lineNum"> 47 </span> : * This context is intended for use by Xapian::ErrorHandler (for example
-<span class="lineNum"> 48 </span> : * so it can know which remote server is unreliable and report the problem
-<span class="lineNum"> 49 </span> : * and remove that server from those being searched). But it's typically
-<span class="lineNum"> 50 </span> : * a plain-text string, and so also fit for human consumption.
-<span class="lineNum"> 51 </span> : */
-<span class="lineNum"> 52 </span> : std::string context;
-<span class="lineNum"> 53 </span> :
-<span class="lineNum"> 54 </span> : /// The type of this error (e.g. DocNotFoundError.)
-<span class="lineNum"> 55 </span> : const char * type;
-<span class="lineNum"> 56 </span> :
-<span class="lineNum"> 57 </span> : /** Optional value of 'errno' associated with this error.
-<span class="lineNum"> 58 </span> : *
-<span class="lineNum"> 59 </span> : * If no value is associated, this member variable will be 0.
-<span class="lineNum"> 60 </span> : *
-<span class="lineNum"> 61 </span> : * On UNIX, if this value is &lt; 0, it's a negated h_errno value (giving
-<span class="lineNum"> 62 </span> : * an error from gethostbyname() or similar).
-<span class="lineNum"> 63 </span> : *
-<span class="lineNum"> 64 </span> : * On Windows, if this value is &lt; 0, it's a negated Windows error code
-<span class="lineNum"> 65 </span> : * (as given by GetLastError() or WSAGetLastError()).
-<span class="lineNum"> 66 </span> : *
-<span class="lineNum"> 67 </span> : * NB We don't just call this member &quot;errno&quot; to avoid problems on
-<span class="lineNum"> 68 </span> : * platforms where errno is a preprocessor macro.
-<span class="lineNum"> 69 </span> : */
-<span class="lineNum"> 70 </span> : int my_errno;
-<span class="lineNum"> 71 </span> :
-<span class="lineNum"> 72 </span> : /** The error string derived from my_errno.
-<span class="lineNum"> 73 </span> : *
-<span class="lineNum"> 74 </span> : * This string is generated from my_errno lazily.
-<span class="lineNum"> 75 </span> : */
-<span class="lineNum"> 76 </span> : mutable std::string error_string;
-<span class="lineNum"> 77 </span> :
-<span class="lineNum"> 78 </span> : /// True if this error has already been passed to an ErrorHandler.
-<span class="lineNum"> 79 </span> : bool already_handled;
-<span class="lineNum"> 80 </span> :
-<span class="lineNum"> 81 </span> : /// Don't allow assignment of the base class.
-<span class="lineNum"> 82 </span> : void operator=(const Error &amp;o);
-<span class="lineNum"> 83 </span> :
-<span class="lineNum"> 84 </span> : protected:
-<span class="lineNum"> 85 </span> : /** @private @internal
-<span class="lineNum"> 86 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 87 </span> : */
-<span class="lineNum"> 88 </span> : Error(const std::string &amp;msg_, const std::string &amp;context_,
-<span class="lineNum"> 89 </span> : const char * type_, const char * error_string_);
-<span class="lineNum"> 90 </span> :
-<span class="lineNum"> 91 </span> : /** @private @internal
-<span class="lineNum"> 92 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 93 </span> : */
-<span class="lineNum"> 94 </span> : Error(const std::string &amp;msg_, const std::string &amp;context_,
-<span class="lineNum"> 95 </span> : const char * type_, int errno_)
-<span class="lineNum"> 96 </span> : : msg(msg_), context(context_), type(type_), my_errno(errno_),
-<span class="lineNum"> 97 </span> : error_string(), already_handled(false) { }
-<span class="lineNum"> 98 </span> :
-<span class="lineNum"> 99 </span> : public:
-<span class="lineNum"> 100 </span> : /// The type of this error (e.g. &quot;DocNotFoundError&quot;.)
-<span class="lineNum"> 101 </span><span class="lineNoCov"> 0 : const char * get_type() const { return type; }</span>
-<span class="lineNum"> 102 </span> :
-<span class="lineNum"> 103 </span> : /// Message giving details of the error, intended for human consumption.
-<span class="lineNum"> 104 </span><span class="lineNoCov"> 0 : const std::string &amp; get_msg() const { return msg; }</span>
-<span class="lineNum"> 105 </span> :
-<span class="lineNum"> 106 </span> : /** Optional context information.
-<span class="lineNum"> 107 </span> : *
-<span class="lineNum"> 108 </span> : * This context is intended for use by Xapian::ErrorHandler (for example
-<span class="lineNum"> 109 </span> : * so it can know which remote server is unreliable and report the problem
-<span class="lineNum"> 110 </span> : * and remove that server from those being searched). But it's typically
-<span class="lineNum"> 111 </span> : * a plain-text string, and so also fit for human consumption.
-<span class="lineNum"> 112 </span> : */
-<span class="lineNum"> 113 </span><span class="lineNoCov"> 0 : const std::string &amp; get_context() const { return context; }</span>
-<span class="lineNum"> 114 </span> :
-<span class="lineNum"> 115 </span> : /** Returns any system error string associated with this exception.
-<span class="lineNum"> 116 </span> : *
-<span class="lineNum"> 117 </span> : * The system error string may come from errno, h_errno (on UNIX), or
-<span class="lineNum"> 118 </span> : * GetLastError() (on MS Windows). If there is no associated system
-<span class="lineNum"> 119 </span> : * error string, NULL is returned.
-<span class="lineNum"> 120 </span> : */
-<span class="lineNum"> 121 </span> : const char * get_error_string() const;
-<span class="lineNum"> 122 </span> :
-<span class="lineNum"> 123 </span> : /** Optional value of 'errno' associated with this error.
-<span class="lineNum"> 124 </span> : *
-<span class="lineNum"> 125 </span> : * If no 'errno' value is associated, returns 0. If the returned value
-<span class="lineNum"> 126 </span> : * is negative, it's a platform-specific error code (on UNIX, -h_errno;
-<span class="lineNum"> 127 </span> : * on MS Windows, -GetLastError()).
-<span class="lineNum"> 128 </span> : *
-<span class="lineNum"> 129 </span> : * @deprecated This method is deprecated, because errno values aren't
-<span class="lineNum"> 130 </span> : * portable between platforms, so we can't serialise them when passing
-<span class="lineNum"> 131 </span> : * exceptions from a remote server to a client. Use the
-<span class="lineNum"> 132 </span> : * get_error_string() method instead.
-<span class="lineNum"> 133 </span> : */
-<span class="lineNum"> 134 </span> : XAPIAN_DEPRECATED(int get_errno() const);
-<span class="lineNum"> 135 </span> :
-<span class="lineNum"> 136 </span> : /// Return a string describing this object.
-<span class="lineNum"> 137 </span> : std::string get_description() const;
-<span class="lineNum"> 138 </span> : };
-<span class="lineNum"> 139 </span> :
-<span class="lineNum"> 140 </span> : inline int Xapian::Error::get_errno() const { return my_errno; }
-<span class="lineNum"> 141 </span> :
-<span class="lineNum"> 142 </span> : /** The base class for exceptions indicating errors in the program logic.
-<span class="lineNum"> 143 </span> : *
-<span class="lineNum"> 144 </span> : * A subclass of LogicError will be thrown if Xapian detects a violation
-<span class="lineNum"> 145 </span> : * of a class invariant or a logical precondition or postcondition, etc.
-<span class="lineNum"> 146 </span> : */
-<span class="lineNum"> 147 </span> : class XAPIAN_VISIBILITY_DEFAULT LogicError : public Error {
-<span class="lineNum"> 148 </span> : protected:
-<span class="lineNum"> 149 </span> : /** @private @internal
-<span class="lineNum"> 150 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 151 </span> : */
-<span class="lineNum"> 152 </span> : LogicError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, const char * error_string_)
-<span class="lineNum"> 153 </span> : : Error(msg_, context_, type_, error_string_) {}
-<span class="lineNum"> 154 </span> :
-<span class="lineNum"> 155 </span> : /** @private @internal
-<span class="lineNum"> 156 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 157 </span> : */
-<span class="lineNum"> 158 </span> : LogicError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, int errno_)
-<span class="lineNum"> 159 </span> : : Error(msg_, context_, type_, errno_) {}
-<span class="lineNum"> 160 </span> : };
-<span class="lineNum"> 161 </span> :
-<span class="lineNum"> 162 </span> : /** The base class for exceptions indicating errors only detectable at runtime.
-<span class="lineNum"> 163 </span> : *
-<span class="lineNum"> 164 </span> : * A subclass of RuntimeError will be thrown if Xapian detects an error
-<span class="lineNum"> 165 </span> : * which is exception derived from RuntimeError is thrown when an
-<span class="lineNum"> 166 </span> : * error is caused by problems with the data or environment rather
-<span class="lineNum"> 167 </span> : * than a programming mistake.
-<span class="lineNum"> 168 </span> : */
-<span class="lineNum"> 169 </span> : class XAPIAN_VISIBILITY_DEFAULT RuntimeError : public Error {
-<span class="lineNum"> 170 </span> : protected:
-<span class="lineNum"> 171 </span> : /** @private @internal
-<span class="lineNum"> 172 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 173 </span> : */
-<span class="lineNum"> 174 </span> : RuntimeError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, const char * error_string_)
-<span class="lineNum"> 175 </span> : : Error(msg_, context_, type_, error_string_) {}
-<span class="lineNum"> 176 </span> :
-<span class="lineNum"> 177 </span> : /** @private @internal
-<span class="lineNum"> 178 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 179 </span> : */
-<span class="lineNum"> 180 </span> : RuntimeError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, int errno_)
-<span class="lineNum"> 181 </span> : : Error(msg_, context_, type_, errno_) {}
-<span class="lineNum"> 182 </span> : };
-<span class="lineNum"> 183 </span> :
-<span class="lineNum"> 184 </span> : /** AssertionError is thrown if a logical assertion inside Xapian fails.
-<span class="lineNum"> 185 </span> : *
-<span class="lineNum"> 186 </span> : * In a debug build of Xapian, a failed assertion in the core library code
-<span class="lineNum"> 187 </span> : * will cause AssertionError to be thrown.
-<span class="lineNum"> 188 </span> : *
-<span class="lineNum"> 189 </span> : * This represents a bug in Xapian (either an invariant, precondition, etc
-<span class="lineNum"> 190 </span> : * has been violated, or the assertion is incorrect!)
-<span class="lineNum"> 191 </span> : */
-<span class="lineNum"> 192 </span> : class XAPIAN_VISIBILITY_DEFAULT AssertionError : public LogicError {
-<span class="lineNum"> 193 </span> : public:
-<span class="lineNum"> 194 </span> : /** @private @internal
-<span class="lineNum"> 195 </span> : * @brief Private constructor for use by remote backend.
-<span class="lineNum"> 196 </span> : *
-<span class="lineNum"> 197 </span> : * @param error_string_ Optional string describing error. May be NULL.
-<span class="lineNum"> 198 </span> : */
-<span class="lineNum"> 199 </span> : AssertionError(const std::string &amp;msg_, const std::string &amp;context_, const char * error_string_)
-<span class="lineNum"> 200 </span> : : LogicError(msg_, context_, &quot;AssertionError&quot;, error_string_) {}
-<span class="lineNum"> 201 </span> : /** General purpose constructor which allows setting errno. */
-<span class="lineNum"> 202 </span> : explicit AssertionError(const std::string &amp;msg_, const std::string &amp;context_ = &quot;&quot;, int errno_ = 0)
-<span class="lineNum"> 203 </span> : : LogicError(msg_, context_, &quot;AssertionError&quot;, errno_) {}
-<span class="lineNum"> 204 </span> : /** Construct from message and errno value. */
-<span class="lineNum"> 205 </span> : AssertionError(const std::string &amp;msg_, int errno_)
-<span class="lineNum"> 206 </span> : : LogicError(msg_, &quot;&quot;, &quot;AssertionError&quot;, errno_) {}
-<span class="lineNum"> 207 </span> : protected:
-<span class="lineNum"> 208 </span> : /** @private @internal
-<span class="lineNum"> 209 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 210 </span> : */
-<span class="lineNum"> 211 </span> : AssertionError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, const char * error_string_)
-<span class="lineNum"> 212 </span> : : LogicError(msg_, context_, type_, error_string_) {}
-<span class="lineNum"> 213 </span> :
-<span class="lineNum"> 214 </span> : /** @private @internal
-<span class="lineNum"> 215 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 216 </span> : */
-<span class="lineNum"> 217 </span> : AssertionError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, int errno_)
-<span class="lineNum"> 218 </span> : : LogicError(msg_, context_, type_, errno_) {}
-<span class="lineNum"> 219 </span> : };
-<span class="lineNum"> 220 </span> :
-<span class="lineNum"> 221 </span> : /** InvalidArgumentError indicates an invalid parameter value was passed to the API.
-<span class="lineNum"> 222 </span> : */
-<span class="lineNum"> 223 </span> : class XAPIAN_VISIBILITY_DEFAULT InvalidArgumentError : public LogicError {
-<span class="lineNum"> 224 </span> : public:
-<span class="lineNum"> 225 </span> : /** @private @internal
-<span class="lineNum"> 226 </span> : * @brief Private constructor for use by remote backend.
-<span class="lineNum"> 227 </span> : *
-<span class="lineNum"> 228 </span> : * @param error_string_ Optional string describing error. May be NULL.
-<span class="lineNum"> 229 </span> : */
-<span class="lineNum"> 230 </span> : InvalidArgumentError(const std::string &amp;msg_, const std::string &amp;context_, const char * error_string_)
-<span class="lineNum"> 231 </span> : : LogicError(msg_, context_, &quot;InvalidArgumentError&quot;, error_string_) {}
-<span class="lineNum"> 232 </span> : /** General purpose constructor which allows setting errno. */
-<span class="lineNum"> 233 </span> : explicit InvalidArgumentError(const std::string &amp;msg_, const std::string &amp;context_ = &quot;&quot;, int errno_ = 0)
-<span class="lineNum"> 234 </span> : : LogicError(msg_, context_, &quot;InvalidArgumentError&quot;, errno_) {}
-<span class="lineNum"> 235 </span> : /** Construct from message and errno value. */
-<span class="lineNum"> 236 </span> : InvalidArgumentError(const std::string &amp;msg_, int errno_)
-<span class="lineNum"> 237 </span> : : LogicError(msg_, &quot;&quot;, &quot;InvalidArgumentError&quot;, errno_) {}
-<span class="lineNum"> 238 </span> : protected:
-<span class="lineNum"> 239 </span> : /** @private @internal
-<span class="lineNum"> 240 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 241 </span> : */
-<span class="lineNum"> 242 </span> : InvalidArgumentError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, const char * error_string_)
-<span class="lineNum"> 243 </span> : : LogicError(msg_, context_, type_, error_string_) {}
-<span class="lineNum"> 244 </span> :
-<span class="lineNum"> 245 </span> : /** @private @internal
-<span class="lineNum"> 246 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 247 </span> : */
-<span class="lineNum"> 248 </span> : InvalidArgumentError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, int errno_)
-<span class="lineNum"> 249 </span> : : LogicError(msg_, context_, type_, errno_) {}
-<span class="lineNum"> 250 </span> : };
-<span class="lineNum"> 251 </span> :
-<span class="lineNum"> 252 </span> : /** InvalidOperationError indicates the API was used in an invalid way.
-<span class="lineNum"> 253 </span> : */
-<span class="lineNum"> 254 </span> : class XAPIAN_VISIBILITY_DEFAULT InvalidOperationError : public LogicError {
-<span class="lineNum"> 255 </span> : public:
-<span class="lineNum"> 256 </span> : /** @private @internal
-<span class="lineNum"> 257 </span> : * @brief Private constructor for use by remote backend.
-<span class="lineNum"> 258 </span> : *
-<span class="lineNum"> 259 </span> : * @param error_string_ Optional string describing error. May be NULL.
-<span class="lineNum"> 260 </span> : */
-<span class="lineNum"> 261 </span> : InvalidOperationError(const std::string &amp;msg_, const std::string &amp;context_, const char * error_string_)
-<span class="lineNum"> 262 </span> : : LogicError(msg_, context_, &quot;InvalidOperationError&quot;, error_string_) {}
-<span class="lineNum"> 263 </span> : /** General purpose constructor which allows setting errno. */
-<span class="lineNum"> 264 </span> : explicit InvalidOperationError(const std::string &amp;msg_, const std::string &amp;context_ = &quot;&quot;, int errno_ = 0)
-<span class="lineNum"> 265 </span> : : LogicError(msg_, context_, &quot;InvalidOperationError&quot;, errno_) {}
-<span class="lineNum"> 266 </span> : /** Construct from message and errno value. */
-<span class="lineNum"> 267 </span> : InvalidOperationError(const std::string &amp;msg_, int errno_)
-<span class="lineNum"> 268 </span> : : LogicError(msg_, &quot;&quot;, &quot;InvalidOperationError&quot;, errno_) {}
-<span class="lineNum"> 269 </span> : protected:
-<span class="lineNum"> 270 </span> : /** @private @internal
-<span class="lineNum"> 271 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 272 </span> : */
-<span class="lineNum"> 273 </span> : InvalidOperationError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, const char * error_string_)
-<span class="lineNum"> 274 </span> : : LogicError(msg_, context_, type_, error_string_) {}
-<span class="lineNum"> 275 </span> :
-<span class="lineNum"> 276 </span> : /** @private @internal
-<span class="lineNum"> 277 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 278 </span> : */
-<span class="lineNum"> 279 </span> : InvalidOperationError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, int errno_)
-<span class="lineNum"> 280 </span> : : LogicError(msg_, context_, type_, errno_) {}
-<span class="lineNum"> 281 </span> : };
-<span class="lineNum"> 282 </span> :
-<span class="lineNum"> 283 </span> : /** UnimplementedError indicates an attempt to use an unimplemented feature. */
-<span class="lineNum"> 284 </span> : class XAPIAN_VISIBILITY_DEFAULT UnimplementedError : public LogicError {
-<span class="lineNum"> 285 </span> : public:
-<span class="lineNum"> 286 </span> : /** @private @internal
-<span class="lineNum"> 287 </span> : * @brief Private constructor for use by remote backend.
-<span class="lineNum"> 288 </span> : *
-<span class="lineNum"> 289 </span> : * @param error_string_ Optional string describing error. May be NULL.
-<span class="lineNum"> 290 </span> : */
-<span class="lineNum"> 291 </span> : UnimplementedError(const std::string &amp;msg_, const std::string &amp;context_, const char * error_string_)
-<span class="lineNum"> 292 </span> : : LogicError(msg_, context_, &quot;UnimplementedError&quot;, error_string_) {}
-<span class="lineNum"> 293 </span> : /** General purpose constructor which allows setting errno. */
-<span class="lineNum"> 294 </span> : explicit UnimplementedError(const std::string &amp;msg_, const std::string &amp;context_ = &quot;&quot;, int errno_ = 0)
-<span class="lineNum"> 295 </span> : : LogicError(msg_, context_, &quot;UnimplementedError&quot;, errno_) {}
-<span class="lineNum"> 296 </span> : /** Construct from message and errno value. */
-<span class="lineNum"> 297 </span> : UnimplementedError(const std::string &amp;msg_, int errno_)
-<span class="lineNum"> 298 </span> : : LogicError(msg_, &quot;&quot;, &quot;UnimplementedError&quot;, errno_) {}
-<span class="lineNum"> 299 </span> : protected:
-<span class="lineNum"> 300 </span> : /** @private @internal
-<span class="lineNum"> 301 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 302 </span> : */
-<span class="lineNum"> 303 </span> : UnimplementedError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, const char * error_string_)
-<span class="lineNum"> 304 </span> : : LogicError(msg_, context_, type_, error_string_) {}
-<span class="lineNum"> 305 </span> :
-<span class="lineNum"> 306 </span> : /** @private @internal
-<span class="lineNum"> 307 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 308 </span> : */
-<span class="lineNum"> 309 </span> : UnimplementedError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, int errno_)
-<span class="lineNum"> 310 </span> : : LogicError(msg_, context_, type_, errno_) {}
-<span class="lineNum"> 311 </span> : };
-<span class="lineNum"> 312 </span> :
-<span class="lineNum"> 313 </span> : /** DatabaseError indicates some sort of database related error. */
-<span class="lineNum"> 314 </span> : class XAPIAN_VISIBILITY_DEFAULT DatabaseError : public RuntimeError {
-<span class="lineNum"> 315 </span> : public:
-<span class="lineNum"> 316 </span> : /** @private @internal
-<span class="lineNum"> 317 </span> : * @brief Private constructor for use by remote backend.
-<span class="lineNum"> 318 </span> : *
-<span class="lineNum"> 319 </span> : * @param error_string_ Optional string describing error. May be NULL.
-<span class="lineNum"> 320 </span> : */
-<span class="lineNum"> 321 </span> : DatabaseError(const std::string &amp;msg_, const std::string &amp;context_, const char * error_string_)
-<span class="lineNum"> 322 </span> : : RuntimeError(msg_, context_, &quot;DatabaseError&quot;, error_string_) {}
-<span class="lineNum"> 323 </span> : /** General purpose constructor which allows setting errno. */
-<span class="lineNum"> 324 </span> : explicit DatabaseError(const std::string &amp;msg_, const std::string &amp;context_ = &quot;&quot;, int errno_ = 0)
-<span class="lineNum"> 325 </span> : : RuntimeError(msg_, context_, &quot;DatabaseError&quot;, errno_) {}
-<span class="lineNum"> 326 </span> : /** Construct from message and errno value. */
-<span class="lineNum"> 327 </span> : DatabaseError(const std::string &amp;msg_, int errno_)
-<span class="lineNum"> 328 </span> : : RuntimeError(msg_, &quot;&quot;, &quot;DatabaseError&quot;, errno_) {}
-<span class="lineNum"> 329 </span> : protected:
-<span class="lineNum"> 330 </span> : /** @private @internal
-<span class="lineNum"> 331 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 332 </span> : */
-<span class="lineNum"> 333 </span> : DatabaseError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, const char * error_string_)
-<span class="lineNum"> 334 </span> : : RuntimeError(msg_, context_, type_, error_string_) {}
-<span class="lineNum"> 335 </span> :
-<span class="lineNum"> 336 </span> : /** @private @internal
-<span class="lineNum"> 337 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 338 </span> : */
-<span class="lineNum"> 339 </span> : DatabaseError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, int errno_)
-<span class="lineNum"> 340 </span> : : RuntimeError(msg_, context_, type_, errno_) {}
-<span class="lineNum"> 341 </span> : };
-<span class="lineNum"> 342 </span> :
-<span class="lineNum"> 343 </span> : /** DatabaseCorruptError indicates database corruption was detected. */
-<span class="lineNum"> 344 </span> : class XAPIAN_VISIBILITY_DEFAULT DatabaseCorruptError : public DatabaseError {
-<span class="lineNum"> 345 </span> : public:
-<span class="lineNum"> 346 </span> : /** @private @internal
-<span class="lineNum"> 347 </span> : * @brief Private constructor for use by remote backend.
-<span class="lineNum"> 348 </span> : *
-<span class="lineNum"> 349 </span> : * @param error_string_ Optional string describing error. May be NULL.
-<span class="lineNum"> 350 </span> : */
-<span class="lineNum"> 351 </span> : DatabaseCorruptError(const std::string &amp;msg_, const std::string &amp;context_, const char * error_string_)
-<span class="lineNum"> 352 </span> : : DatabaseError(msg_, context_, &quot;DatabaseCorruptError&quot;, error_string_) {}
-<span class="lineNum"> 353 </span> : /** General purpose constructor which allows setting errno. */
-<span class="lineNum"> 354 </span> : explicit DatabaseCorruptError(const std::string &amp;msg_, const std::string &amp;context_ = &quot;&quot;, int errno_ = 0)
-<span class="lineNum"> 355 </span> : : DatabaseError(msg_, context_, &quot;DatabaseCorruptError&quot;, errno_) {}
-<span class="lineNum"> 356 </span> : /** Construct from message and errno value. */
-<span class="lineNum"> 357 </span> : DatabaseCorruptError(const std::string &amp;msg_, int errno_)
-<span class="lineNum"> 358 </span> : : DatabaseError(msg_, &quot;&quot;, &quot;DatabaseCorruptError&quot;, errno_) {}
-<span class="lineNum"> 359 </span> : protected:
-<span class="lineNum"> 360 </span> : /** @private @internal
-<span class="lineNum"> 361 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 362 </span> : */
-<span class="lineNum"> 363 </span> : DatabaseCorruptError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, const char * error_string_)
-<span class="lineNum"> 364 </span> : : DatabaseError(msg_, context_, type_, error_string_) {}
-<span class="lineNum"> 365 </span> :
-<span class="lineNum"> 366 </span> : /** @private @internal
-<span class="lineNum"> 367 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 368 </span> : */
-<span class="lineNum"> 369 </span> : DatabaseCorruptError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, int errno_)
-<span class="lineNum"> 370 </span> : : DatabaseError(msg_, context_, type_, errno_) {}
-<span class="lineNum"> 371 </span> : };
-<span class="lineNum"> 372 </span> :
-<span class="lineNum"> 373 </span> : /** DatabaseCreateError indicates a failure to create a database. */
-<span class="lineNum"> 374 </span> : class XAPIAN_VISIBILITY_DEFAULT DatabaseCreateError : public DatabaseError {
-<span class="lineNum"> 375 </span> : public:
-<span class="lineNum"> 376 </span> : /** @private @internal
-<span class="lineNum"> 377 </span> : * @brief Private constructor for use by remote backend.
-<span class="lineNum"> 378 </span> : *
-<span class="lineNum"> 379 </span> : * @param error_string_ Optional string describing error. May be NULL.
-<span class="lineNum"> 380 </span> : */
-<span class="lineNum"> 381 </span> : DatabaseCreateError(const std::string &amp;msg_, const std::string &amp;context_, const char * error_string_)
-<span class="lineNum"> 382 </span> : : DatabaseError(msg_, context_, &quot;DatabaseCreateError&quot;, error_string_) {}
-<span class="lineNum"> 383 </span> : /** General purpose constructor which allows setting errno. */
-<span class="lineNum"> 384 </span> : explicit DatabaseCreateError(const std::string &amp;msg_, const std::string &amp;context_ = &quot;&quot;, int errno_ = 0)
-<span class="lineNum"> 385 </span> : : DatabaseError(msg_, context_, &quot;DatabaseCreateError&quot;, errno_) {}
-<span class="lineNum"> 386 </span> : /** Construct from message and errno value. */
-<span class="lineNum"> 387 </span> : DatabaseCreateError(const std::string &amp;msg_, int errno_)
-<span class="lineNum"> 388 </span> : : DatabaseError(msg_, &quot;&quot;, &quot;DatabaseCreateError&quot;, errno_) {}
-<span class="lineNum"> 389 </span> : protected:
-<span class="lineNum"> 390 </span> : /** @private @internal
-<span class="lineNum"> 391 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 392 </span> : */
-<span class="lineNum"> 393 </span> : DatabaseCreateError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, const char * error_string_)
-<span class="lineNum"> 394 </span> : : DatabaseError(msg_, context_, type_, error_string_) {}
-<span class="lineNum"> 395 </span> :
-<span class="lineNum"> 396 </span> : /** @private @internal
-<span class="lineNum"> 397 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 398 </span> : */
-<span class="lineNum"> 399 </span> : DatabaseCreateError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, int errno_)
-<span class="lineNum"> 400 </span> : : DatabaseError(msg_, context_, type_, errno_) {}
-<span class="lineNum"> 401 </span> : };
-<span class="lineNum"> 402 </span> :
-<span class="lineNum"> 403 </span> : /** DatabaseLockError indicates failure to lock a database. */
-<span class="lineNum"> 404 </span> : class XAPIAN_VISIBILITY_DEFAULT DatabaseLockError : public DatabaseError {
-<span class="lineNum"> 405 </span> : public:
-<span class="lineNum"> 406 </span> : /** @private @internal
-<span class="lineNum"> 407 </span> : * @brief Private constructor for use by remote backend.
-<span class="lineNum"> 408 </span> : *
-<span class="lineNum"> 409 </span> : * @param error_string_ Optional string describing error. May be NULL.
-<span class="lineNum"> 410 </span> : */
-<span class="lineNum"> 411 </span> : DatabaseLockError(const std::string &amp;msg_, const std::string &amp;context_, const char * error_string_)
-<span class="lineNum"> 412 </span> : : DatabaseError(msg_, context_, &quot;DatabaseLockError&quot;, error_string_) {}
-<span class="lineNum"> 413 </span> : /** General purpose constructor which allows setting errno. */
-<span class="lineNum"> 414 </span> : explicit DatabaseLockError(const std::string &amp;msg_, const std::string &amp;context_ = &quot;&quot;, int errno_ = 0)
-<span class="lineNum"> 415 </span> : : DatabaseError(msg_, context_, &quot;DatabaseLockError&quot;, errno_) {}
-<span class="lineNum"> 416 </span> : /** Construct from message and errno value. */
-<span class="lineNum"> 417 </span> : DatabaseLockError(const std::string &amp;msg_, int errno_)
-<span class="lineNum"> 418 </span> : : DatabaseError(msg_, &quot;&quot;, &quot;DatabaseLockError&quot;, errno_) {}
-<span class="lineNum"> 419 </span> : protected:
-<span class="lineNum"> 420 </span> : /** @private @internal
-<span class="lineNum"> 421 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 422 </span> : */
-<span class="lineNum"> 423 </span> : DatabaseLockError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, const char * error_string_)
-<span class="lineNum"> 424 </span> : : DatabaseError(msg_, context_, type_, error_string_) {}
-<span class="lineNum"> 425 </span> :
-<span class="lineNum"> 426 </span> : /** @private @internal
-<span class="lineNum"> 427 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 428 </span> : */
-<span class="lineNum"> 429 </span> : DatabaseLockError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, int errno_)
-<span class="lineNum"> 430 </span> : : DatabaseError(msg_, context_, type_, errno_) {}
-<span class="lineNum"> 431 </span> : };
-<span class="lineNum"> 432 </span> :
-<span class="lineNum"> 433 </span> : /** DatabaseModifiedError indicates a database was modified.
-<span class="lineNum"> 434 </span> : *
-<span class="lineNum"> 435 </span> : * To recover after catching this error, you need to call
-<span class="lineNum"> 436 </span> : * Xapian::Database::reopen() on the Database and repeat the operation
-<span class="lineNum"> 437 </span> : * which failed.
-<span class="lineNum"> 438 </span> : */
-<span class="lineNum"> 439 </span> : class XAPIAN_VISIBILITY_DEFAULT DatabaseModifiedError : public DatabaseError {
-<span class="lineNum"> 440 </span> : public:
-<span class="lineNum"> 441 </span> : /** @private @internal
-<span class="lineNum"> 442 </span> : * @brief Private constructor for use by remote backend.
-<span class="lineNum"> 443 </span> : *
-<span class="lineNum"> 444 </span> : * @param error_string_ Optional string describing error. May be NULL.
-<span class="lineNum"> 445 </span> : */
-<span class="lineNum"> 446 </span> : DatabaseModifiedError(const std::string &amp;msg_, const std::string &amp;context_, const char * error_string_)
-<span class="lineNum"> 447 </span> : : DatabaseError(msg_, context_, &quot;DatabaseModifiedError&quot;, error_string_) {}
-<span class="lineNum"> 448 </span> : /** General purpose constructor which allows setting errno. */
-<span class="lineNum"> 449 </span> : explicit DatabaseModifiedError(const std::string &amp;msg_, const std::string &amp;context_ = &quot;&quot;, int errno_ = 0)
-<span class="lineNum"> 450 </span> : : DatabaseError(msg_, context_, &quot;DatabaseModifiedError&quot;, errno_) {}
-<span class="lineNum"> 451 </span> : /** Construct from message and errno value. */
-<span class="lineNum"> 452 </span> : DatabaseModifiedError(const std::string &amp;msg_, int errno_)
-<span class="lineNum"> 453 </span> : : DatabaseError(msg_, &quot;&quot;, &quot;DatabaseModifiedError&quot;, errno_) {}
-<span class="lineNum"> 454 </span> : protected:
-<span class="lineNum"> 455 </span> : /** @private @internal
-<span class="lineNum"> 456 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 457 </span> : */
-<span class="lineNum"> 458 </span> : DatabaseModifiedError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, const char * error_string_)
-<span class="lineNum"> 459 </span> : : DatabaseError(msg_, context_, type_, error_string_) {}
-<span class="lineNum"> 460 </span> :
-<span class="lineNum"> 461 </span> : /** @private @internal
-<span class="lineNum"> 462 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 463 </span> : */
-<span class="lineNum"> 464 </span> : DatabaseModifiedError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, int errno_)
-<span class="lineNum"> 465 </span> : : DatabaseError(msg_, context_, type_, errno_) {}
-<span class="lineNum"> 466 </span> : };
-<span class="lineNum"> 467 </span> :
-<span class="lineNum"> 468 </span> : /** DatabaseOpeningError indicates failure to open a database. */
-<span class="lineNum"> 469 </span> : class XAPIAN_VISIBILITY_DEFAULT DatabaseOpeningError : public DatabaseError {
-<span class="lineNum"> 470 </span> : public:
-<span class="lineNum"> 471 </span> : /** @private @internal
-<span class="lineNum"> 472 </span> : * @brief Private constructor for use by remote backend.
-<span class="lineNum"> 473 </span> : *
-<span class="lineNum"> 474 </span> : * @param error_string_ Optional string describing error. May be NULL.
-<span class="lineNum"> 475 </span> : */
-<span class="lineNum"> 476 </span> : DatabaseOpeningError(const std::string &amp;msg_, const std::string &amp;context_, const char * error_string_)
-<span class="lineNum"> 477 </span> : : DatabaseError(msg_, context_, &quot;DatabaseOpeningError&quot;, error_string_) {}
-<span class="lineNum"> 478 </span> : /** General purpose constructor which allows setting errno. */
-<span class="lineNum"> 479 </span> : explicit DatabaseOpeningError(const std::string &amp;msg_, const std::string &amp;context_ = &quot;&quot;, int errno_ = 0)
-<span class="lineNum"> 480 </span> : : DatabaseError(msg_, context_, &quot;DatabaseOpeningError&quot;, errno_) {}
-<span class="lineNum"> 481 </span> : /** Construct from message and errno value. */
-<span class="lineNum"> 482 </span> : DatabaseOpeningError(const std::string &amp;msg_, int errno_)
-<span class="lineNum"> 483 </span> : : DatabaseError(msg_, &quot;&quot;, &quot;DatabaseOpeningError&quot;, errno_) {}
-<span class="lineNum"> 484 </span> : protected:
-<span class="lineNum"> 485 </span> : /** @private @internal
-<span class="lineNum"> 486 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 487 </span> : */
-<span class="lineNum"> 488 </span> : DatabaseOpeningError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, const char * error_string_)
-<span class="lineNum"> 489 </span> : : DatabaseError(msg_, context_, type_, error_string_) {}
-<span class="lineNum"> 490 </span> :
-<span class="lineNum"> 491 </span> : /** @private @internal
-<span class="lineNum"> 492 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 493 </span> : */
-<span class="lineNum"> 494 </span> : DatabaseOpeningError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, int errno_)
-<span class="lineNum"> 495 </span> : : DatabaseError(msg_, context_, type_, errno_) {}
-<span class="lineNum"> 496 </span> : };
-<span class="lineNum"> 497 </span> :
-<span class="lineNum"> 498 </span> : /** DatabaseVersionError indicates that a database is in an unsupported format.
-<span class="lineNum"> 499 </span> : *
-<span class="lineNum"> 500 </span> : * From time to time, new versions of Xapian will require the database format
-<span class="lineNum"> 501 </span> : * to be changed, to allow new information to be stored or new optimisations
-<span class="lineNum"> 502 </span> : * to be performed. Backwards compatibility will sometimes be maintained, so
-<span class="lineNum"> 503 </span> : * that new versions of Xapian can open old databases, but in some cases
-<span class="lineNum"> 504 </span> : * Xapian will be unable to open a database because it is in too old (or new)
-<span class="lineNum"> 505 </span> : * a format. This can be resolved either be upgrading or downgrading the
-<span class="lineNum"> 506 </span> : * version of Xapian in use, or by rebuilding the database from scratch with
-<span class="lineNum"> 507 </span> : * the current version of Xapian.
-<span class="lineNum"> 508 </span> : */
-<span class="lineNum"> 509 </span> : class XAPIAN_VISIBILITY_DEFAULT DatabaseVersionError : public DatabaseOpeningError {
-<span class="lineNum"> 510 </span> : public:
-<span class="lineNum"> 511 </span> : /** @private @internal
-<span class="lineNum"> 512 </span> : * @brief Private constructor for use by remote backend.
-<span class="lineNum"> 513 </span> : *
-<span class="lineNum"> 514 </span> : * @param error_string_ Optional string describing error. May be NULL.
-<span class="lineNum"> 515 </span> : */
-<span class="lineNum"> 516 </span> : DatabaseVersionError(const std::string &amp;msg_, const std::string &amp;context_, const char * error_string_)
-<span class="lineNum"> 517 </span> : : DatabaseOpeningError(msg_, context_, &quot;DatabaseVersionError&quot;, error_string_) {}
-<span class="lineNum"> 518 </span> : /** General purpose constructor which allows setting errno. */
-<span class="lineNum"> 519 </span> : explicit DatabaseVersionError(const std::string &amp;msg_, const std::string &amp;context_ = &quot;&quot;, int errno_ = 0)
-<span class="lineNum"> 520 </span> : : DatabaseOpeningError(msg_, context_, &quot;DatabaseVersionError&quot;, errno_) {}
-<span class="lineNum"> 521 </span> : /** Construct from message and errno value. */
-<span class="lineNum"> 522 </span> : DatabaseVersionError(const std::string &amp;msg_, int errno_)
-<span class="lineNum"> 523 </span> : : DatabaseOpeningError(msg_, &quot;&quot;, &quot;DatabaseVersionError&quot;, errno_) {}
-<span class="lineNum"> 524 </span> : protected:
-<span class="lineNum"> 525 </span> : /** @private @internal
-<span class="lineNum"> 526 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 527 </span> : */
-<span class="lineNum"> 528 </span> : DatabaseVersionError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, const char * error_string_)
-<span class="lineNum"> 529 </span> : : DatabaseOpeningError(msg_, context_, type_, error_string_) {}
-<span class="lineNum"> 530 </span> :
-<span class="lineNum"> 531 </span> : /** @private @internal
-<span class="lineNum"> 532 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 533 </span> : */
-<span class="lineNum"> 534 </span> : DatabaseVersionError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, int errno_)
-<span class="lineNum"> 535 </span> : : DatabaseOpeningError(msg_, context_, type_, errno_) {}
-<span class="lineNum"> 536 </span> : };
-<span class="lineNum"> 537 </span> :
-<span class="lineNum"> 538 </span> : /** Indicates an attempt to access a document not present in the database. */
-<span class="lineNum"> 539 </span> : class XAPIAN_VISIBILITY_DEFAULT DocNotFoundError : public RuntimeError {
-<span class="lineNum"> 540 </span> : public:
-<span class="lineNum"> 541 </span> : /** @private @internal
-<span class="lineNum"> 542 </span> : * @brief Private constructor for use by remote backend.
-<span class="lineNum"> 543 </span> : *
-<span class="lineNum"> 544 </span> : * @param error_string_ Optional string describing error. May be NULL.
-<span class="lineNum"> 545 </span> : */
-<span class="lineNum"> 546 </span> : DocNotFoundError(const std::string &amp;msg_, const std::string &amp;context_, const char * error_string_)
-<span class="lineNum"> 547 </span> : : RuntimeError(msg_, context_, &quot;DocNotFoundError&quot;, error_string_) {}
-<span class="lineNum"> 548 </span> : /** General purpose constructor which allows setting errno. */
-<span class="lineNum"> 549 </span> : explicit DocNotFoundError(const std::string &amp;msg_, const std::string &amp;context_ = &quot;&quot;, int errno_ = 0)
-<span class="lineNum"> 550 </span> : : RuntimeError(msg_, context_, &quot;DocNotFoundError&quot;, errno_) {}
-<span class="lineNum"> 551 </span> : /** Construct from message and errno value. */
-<span class="lineNum"> 552 </span> : DocNotFoundError(const std::string &amp;msg_, int errno_)
-<span class="lineNum"> 553 </span> : : RuntimeError(msg_, &quot;&quot;, &quot;DocNotFoundError&quot;, errno_) {}
-<span class="lineNum"> 554 </span> : protected:
-<span class="lineNum"> 555 </span> : /** @private @internal
-<span class="lineNum"> 556 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 557 </span> : */
-<span class="lineNum"> 558 </span> : DocNotFoundError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, const char * error_string_)
-<span class="lineNum"> 559 </span> : : RuntimeError(msg_, context_, type_, error_string_) {}
-<span class="lineNum"> 560 </span> :
-<span class="lineNum"> 561 </span> : /** @private @internal
-<span class="lineNum"> 562 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 563 </span> : */
-<span class="lineNum"> 564 </span> : DocNotFoundError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, int errno_)
-<span class="lineNum"> 565 </span> : : RuntimeError(msg_, context_, type_, errno_) {}
-<span class="lineNum"> 566 </span> : };
-<span class="lineNum"> 567 </span> :
-<span class="lineNum"> 568 </span> : /** Indicates an attempt to use a feature which is unavailable.
-<span class="lineNum"> 569 </span> : *
-<span class="lineNum"> 570 </span> : * Typically a feature is unavailable because it wasn't compiled in, or
-<span class="lineNum"> 571 </span> : * because it requires other software or facilities which aren't available.
-<span class="lineNum"> 572 </span> : */
-<span class="lineNum"> 573 </span> : class XAPIAN_VISIBILITY_DEFAULT FeatureUnavailableError : public RuntimeError {
-<span class="lineNum"> 574 </span> : public:
-<span class="lineNum"> 575 </span> : /** @private @internal
-<span class="lineNum"> 576 </span> : * @brief Private constructor for use by remote backend.
-<span class="lineNum"> 577 </span> : *
-<span class="lineNum"> 578 </span> : * @param error_string_ Optional string describing error. May be NULL.
-<span class="lineNum"> 579 </span> : */
-<span class="lineNum"> 580 </span> : FeatureUnavailableError(const std::string &amp;msg_, const std::string &amp;context_, const char * error_string_)
-<span class="lineNum"> 581 </span> : : RuntimeError(msg_, context_, &quot;FeatureUnavailableError&quot;, error_string_) {}
-<span class="lineNum"> 582 </span> : /** General purpose constructor which allows setting errno. */
-<span class="lineNum"> 583 </span> : explicit FeatureUnavailableError(const std::string &amp;msg_, const std::string &amp;context_ = &quot;&quot;, int errno_ = 0)
-<span class="lineNum"> 584 </span> : : RuntimeError(msg_, context_, &quot;FeatureUnavailableError&quot;, errno_) {}
-<span class="lineNum"> 585 </span> : /** Construct from message and errno value. */
-<span class="lineNum"> 586 </span> : FeatureUnavailableError(const std::string &amp;msg_, int errno_)
-<span class="lineNum"> 587 </span> : : RuntimeError(msg_, &quot;&quot;, &quot;FeatureUnavailableError&quot;, errno_) {}
-<span class="lineNum"> 588 </span> : protected:
-<span class="lineNum"> 589 </span> : /** @private @internal
-<span class="lineNum"> 590 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 591 </span> : */
-<span class="lineNum"> 592 </span> : FeatureUnavailableError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, const char * error_string_)
-<span class="lineNum"> 593 </span> : : RuntimeError(msg_, context_, type_, error_string_) {}
-<span class="lineNum"> 594 </span> :
-<span class="lineNum"> 595 </span> : /** @private @internal
-<span class="lineNum"> 596 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 597 </span> : */
-<span class="lineNum"> 598 </span> : FeatureUnavailableError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, int errno_)
-<span class="lineNum"> 599 </span> : : RuntimeError(msg_, context_, type_, errno_) {}
-<span class="lineNum"> 600 </span> : };
-<span class="lineNum"> 601 </span> :
-<span class="lineNum"> 602 </span> : /** InternalError indicates a runtime problem of some sort. */
-<span class="lineNum"> 603 </span> : class XAPIAN_VISIBILITY_DEFAULT InternalError : public RuntimeError {
-<span class="lineNum"> 604 </span> : public:
-<span class="lineNum"> 605 </span> : /** @private @internal
-<span class="lineNum"> 606 </span> : * @brief Private constructor for use by remote backend.
-<span class="lineNum"> 607 </span> : *
-<span class="lineNum"> 608 </span> : * @param error_string_ Optional string describing error. May be NULL.
-<span class="lineNum"> 609 </span> : */
-<span class="lineNum"> 610 </span> : InternalError(const std::string &amp;msg_, const std::string &amp;context_, const char * error_string_)
-<span class="lineNum"> 611 </span> : : RuntimeError(msg_, context_, &quot;InternalError&quot;, error_string_) {}
-<span class="lineNum"> 612 </span> : /** General purpose constructor which allows setting errno. */
-<span class="lineNum"> 613 </span> : explicit InternalError(const std::string &amp;msg_, const std::string &amp;context_ = &quot;&quot;, int errno_ = 0)
-<span class="lineNum"> 614 </span> : : RuntimeError(msg_, context_, &quot;InternalError&quot;, errno_) {}
-<span class="lineNum"> 615 </span> : /** Construct from message and errno value. */
-<span class="lineNum"> 616 </span> : InternalError(const std::string &amp;msg_, int errno_)
-<span class="lineNum"> 617 </span> : : RuntimeError(msg_, &quot;&quot;, &quot;InternalError&quot;, errno_) {}
-<span class="lineNum"> 618 </span> : protected:
-<span class="lineNum"> 619 </span> : /** @private @internal
-<span class="lineNum"> 620 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 621 </span> : */
-<span class="lineNum"> 622 </span> : InternalError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, const char * error_string_)
-<span class="lineNum"> 623 </span> : : RuntimeError(msg_, context_, type_, error_string_) {}
-<span class="lineNum"> 624 </span> :
-<span class="lineNum"> 625 </span> : /** @private @internal
-<span class="lineNum"> 626 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 627 </span> : */
-<span class="lineNum"> 628 </span> : InternalError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, int errno_)
-<span class="lineNum"> 629 </span> : : RuntimeError(msg_, context_, type_, errno_) {}
-<span class="lineNum"> 630 </span> : };
-<span class="lineNum"> 631 </span> :
-<span class="lineNum"> 632 </span> : /** Indicates a problem communicating with a remote database. */
-<span class="lineNum"> 633 </span> : class XAPIAN_VISIBILITY_DEFAULT NetworkError : public RuntimeError {
-<span class="lineNum"> 634 </span> : public:
-<span class="lineNum"> 635 </span> : /** @private @internal
-<span class="lineNum"> 636 </span> : * @brief Private constructor for use by remote backend.
-<span class="lineNum"> 637 </span> : *
-<span class="lineNum"> 638 </span> : * @param error_string_ Optional string describing error. May be NULL.
-<span class="lineNum"> 639 </span> : */
-<span class="lineNum"> 640 </span> : NetworkError(const std::string &amp;msg_, const std::string &amp;context_, const char * error_string_)
-<span class="lineNum"> 641 </span> : : RuntimeError(msg_, context_, &quot;NetworkError&quot;, error_string_) {}
-<span class="lineNum"> 642 </span> : /** General purpose constructor which allows setting errno. */
-<span class="lineNum"> 643 </span> : explicit NetworkError(const std::string &amp;msg_, const std::string &amp;context_ = &quot;&quot;, int errno_ = 0)
-<span class="lineNum"> 644 </span> : : RuntimeError(msg_, context_, &quot;NetworkError&quot;, errno_) {}
-<span class="lineNum"> 645 </span> : /** Construct from message and errno value. */
-<span class="lineNum"> 646 </span> : NetworkError(const std::string &amp;msg_, int errno_)
-<span class="lineNum"> 647 </span> : : RuntimeError(msg_, &quot;&quot;, &quot;NetworkError&quot;, errno_) {}
-<span class="lineNum"> 648 </span> : protected:
-<span class="lineNum"> 649 </span> : /** @private @internal
-<span class="lineNum"> 650 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 651 </span> : */
-<span class="lineNum"> 652 </span> : NetworkError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, const char * error_string_)
-<span class="lineNum"> 653 </span> : : RuntimeError(msg_, context_, type_, error_string_) {}
-<span class="lineNum"> 654 </span> :
-<span class="lineNum"> 655 </span> : /** @private @internal
-<span class="lineNum"> 656 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 657 </span> : */
-<span class="lineNum"> 658 </span> : NetworkError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, int errno_)
-<span class="lineNum"> 659 </span> : : RuntimeError(msg_, context_, type_, errno_) {}
-<span class="lineNum"> 660 </span> : };
-<span class="lineNum"> 661 </span> :
-<span class="lineNum"> 662 </span> : /** Indicates a timeout expired while communicating with a remote database. */
-<span class="lineNum"> 663 </span> : class XAPIAN_VISIBILITY_DEFAULT NetworkTimeoutError : public NetworkError {
-<span class="lineNum"> 664 </span> : public:
-<span class="lineNum"> 665 </span> : /** @private @internal
-<span class="lineNum"> 666 </span> : * @brief Private constructor for use by remote backend.
-<span class="lineNum"> 667 </span> : *
-<span class="lineNum"> 668 </span> : * @param error_string_ Optional string describing error. May be NULL.
-<span class="lineNum"> 669 </span> : */
-<span class="lineNum"> 670 </span> : NetworkTimeoutError(const std::string &amp;msg_, const std::string &amp;context_, const char * error_string_)
-<span class="lineNum"> 671 </span> : : NetworkError(msg_, context_, &quot;NetworkTimeoutError&quot;, error_string_) {}
-<span class="lineNum"> 672 </span> : /** General purpose constructor which allows setting errno. */
-<span class="lineNum"> 673 </span> : explicit NetworkTimeoutError(const std::string &amp;msg_, const std::string &amp;context_ = &quot;&quot;, int errno_ = 0)
-<span class="lineNum"> 674 </span> : : NetworkError(msg_, context_, &quot;NetworkTimeoutError&quot;, errno_) {}
-<span class="lineNum"> 675 </span> : /** Construct from message and errno value. */
-<span class="lineNum"> 676 </span> : NetworkTimeoutError(const std::string &amp;msg_, int errno_)
-<span class="lineNum"> 677 </span> : : NetworkError(msg_, &quot;&quot;, &quot;NetworkTimeoutError&quot;, errno_) {}
-<span class="lineNum"> 678 </span> : protected:
-<span class="lineNum"> 679 </span> : /** @private @internal
-<span class="lineNum"> 680 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 681 </span> : */
-<span class="lineNum"> 682 </span> : NetworkTimeoutError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, const char * error_string_)
-<span class="lineNum"> 683 </span> : : NetworkError(msg_, context_, type_, error_string_) {}
-<span class="lineNum"> 684 </span> :
-<span class="lineNum"> 685 </span> : /** @private @internal
-<span class="lineNum"> 686 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 687 </span> : */
-<span class="lineNum"> 688 </span> : NetworkTimeoutError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, int errno_)
-<span class="lineNum"> 689 </span> : : NetworkError(msg_, context_, type_, errno_) {}
-<span class="lineNum"> 690 </span> : };
-<span class="lineNum"> 691 </span> :
-<span class="lineNum"> 692 </span> : /** Indicates a query string can't be parsed. */
-<span class="lineNum"> 693 </span> : class XAPIAN_VISIBILITY_DEFAULT QueryParserError : public RuntimeError {
-<span class="lineNum"> 694 </span> : public:
-<span class="lineNum"> 695 </span> : /** @private @internal
-<span class="lineNum"> 696 </span> : * @brief Private constructor for use by remote backend.
-<span class="lineNum"> 697 </span> : *
-<span class="lineNum"> 698 </span> : * @param error_string_ Optional string describing error. May be NULL.
-<span class="lineNum"> 699 </span> : */
-<span class="lineNum"> 700 </span> : QueryParserError(const std::string &amp;msg_, const std::string &amp;context_, const char * error_string_)
-<span class="lineNum"> 701 </span> : : RuntimeError(msg_, context_, &quot;QueryParserError&quot;, error_string_) {}
-<span class="lineNum"> 702 </span> : /** General purpose constructor which allows setting errno. */
-<span class="lineNum"> 703 </span> : explicit QueryParserError(const std::string &amp;msg_, const std::string &amp;context_ = &quot;&quot;, int errno_ = 0)
-<span class="lineNum"> 704 </span> : : RuntimeError(msg_, context_, &quot;QueryParserError&quot;, errno_) {}
-<span class="lineNum"> 705 </span> : /** Construct from message and errno value. */
-<span class="lineNum"> 706 </span> : QueryParserError(const std::string &amp;msg_, int errno_)
-<span class="lineNum"> 707 </span> : : RuntimeError(msg_, &quot;&quot;, &quot;QueryParserError&quot;, errno_) {}
-<span class="lineNum"> 708 </span> : protected:
-<span class="lineNum"> 709 </span> : /** @private @internal
-<span class="lineNum"> 710 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 711 </span> : */
-<span class="lineNum"> 712 </span> : QueryParserError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, const char * error_string_)
-<span class="lineNum"> 713 </span> : : RuntimeError(msg_, context_, type_, error_string_) {}
-<span class="lineNum"> 714 </span> :
-<span class="lineNum"> 715 </span> : /** @private @internal
-<span class="lineNum"> 716 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 717 </span> : */
-<span class="lineNum"> 718 </span> : QueryParserError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, int errno_)
-<span class="lineNum"> 719 </span> : : RuntimeError(msg_, context_, type_, errno_) {}
-<span class="lineNum"> 720 </span> : };
-<span class="lineNum"> 721 </span> :
-<span class="lineNum"> 722 </span> : /** RangeError indicates an attempt to access outside the bounds of a container.
-<span class="lineNum"> 723 </span> : */
-<span class="lineNum"> 724 </span> : class XAPIAN_VISIBILITY_DEFAULT RangeError : public RuntimeError {
-<span class="lineNum"> 725 </span> : public:
-<span class="lineNum"> 726 </span> : /** @private @internal
-<span class="lineNum"> 727 </span> : * @brief Private constructor for use by remote backend.
-<span class="lineNum"> 728 </span> : *
-<span class="lineNum"> 729 </span> : * @param error_string_ Optional string describing error. May be NULL.
-<span class="lineNum"> 730 </span> : */
-<span class="lineNum"> 731 </span> : RangeError(const std::string &amp;msg_, const std::string &amp;context_, const char * error_string_)
-<span class="lineNum"> 732 </span> : : RuntimeError(msg_, context_, &quot;RangeError&quot;, error_string_) {}
-<span class="lineNum"> 733 </span> : /** General purpose constructor which allows setting errno. */
-<span class="lineNum"> 734 </span> : explicit RangeError(const std::string &amp;msg_, const std::string &amp;context_ = &quot;&quot;, int errno_ = 0)
-<span class="lineNum"> 735 </span> : : RuntimeError(msg_, context_, &quot;RangeError&quot;, errno_) {}
-<span class="lineNum"> 736 </span> : /** Construct from message and errno value. */
-<span class="lineNum"> 737 </span> : RangeError(const std::string &amp;msg_, int errno_)
-<span class="lineNum"> 738 </span> : : RuntimeError(msg_, &quot;&quot;, &quot;RangeError&quot;, errno_) {}
-<span class="lineNum"> 739 </span> : protected:
-<span class="lineNum"> 740 </span> : /** @private @internal
-<span class="lineNum"> 741 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 742 </span> : */
-<span class="lineNum"> 743 </span> : RangeError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, const char * error_string_)
-<span class="lineNum"> 744 </span> : : RuntimeError(msg_, context_, type_, error_string_) {}
-<span class="lineNum"> 745 </span> :
-<span class="lineNum"> 746 </span> : /** @private @internal
-<span class="lineNum"> 747 </span> : * @brief Constructor for use by constructors of derived classes.
-<span class="lineNum"> 748 </span> : */
-<span class="lineNum"> 749 </span> : RangeError(const std::string &amp;msg_, const std::string &amp;context_, const char * type_, int errno_)
-<span class="lineNum"> 750 </span> : : RuntimeError(msg_, context_, type_, errno_) {}
-<span class="lineNum"> 751 </span> : };
-<span class="lineNum"> 752 </span> :
-<span class="lineNum"> 753 </span> : }
-<span class="lineNum"> 754 </span> :
-<span class="lineNum"> 755 </span> : #endif /* XAPIAN_INCLUDED_ERROR_H */
-</pre>
- </td>
- </tr>
- </table>
- <br>
-
- <table width="100%" border=0 cellspacing=0 cellpadding=0>
- <tr><td class="ruler"><img src="../../../glass.png" width=3 height=3 alt=""></td></tr>
- <tr><td class="versionInfo">Generated by: <a href="http://ltp.sourceforge.net/coverage/lcov.php" target="_parent">LTP GCOV extension version 1.6</a></td></tr>
- </table>
- <br>
-
-</body>
-</html>