File: classXapian_1_1RuntimeError.html

package info (click to toggle)
xapian-core 1.4.29-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 22,840 kB
  • sloc: cpp: 92,356; ansic: 9,948; sh: 5,026; perl: 850; makefile: 509; javascript: 360; tcl: 319; python: 40
file content (140 lines) | stat: -rw-r--r-- 13,433 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Xapian: API Documentation: Xapian::RuntimeError Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">xapian-core
   &#160;<span id="projectnumber">1.4.29</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceXapian.html">Xapian</a></li><li class="navelem"><a class="el" href="classXapian_1_1RuntimeError.html">RuntimeError</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="classXapian_1_1RuntimeError-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">Xapian::RuntimeError Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p>The base class for exceptions indicating errors only detectable at runtime.  
 <a href="classXapian_1_1RuntimeError.html#details">More...</a></p>

<p><code>#include &lt;error.h&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for Xapian::RuntimeError:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classXapian_1_1RuntimeError__inherit__graph.png" border="0" usemap="#aXapian_1_1RuntimeError_inherit__map" alt="Inheritance graph"/></div>
<map name="aXapian_1_1RuntimeError_inherit__map" id="aXapian_1_1RuntimeError_inherit__map">
<area shape="rect" title="The base class for exceptions indicating errors only detectable at runtime." alt="" coords="160,341,321,367"/>
<area shape="rect" href="classXapian_1_1DatabaseError.html" title="DatabaseError indicates some sort of database related error." alt="" coords="387,128,555,153"/>
<area shape="poly" title=" " alt="" coords="250,327,267,290,292,245,326,200,368,162,390,151,392,156,371,167,330,204,297,248,272,292,254,329"/>
<area shape="rect" href="classXapian_1_1DocNotFoundError.html" title="Indicates an attempt to access a document not present in the database." alt="" coords="374,177,567,203"/>
<area shape="poly" title=" " alt="" coords="255,328,301,270,332,239,368,213,396,200,398,205,371,218,336,243,305,274,260,331"/>
<area shape="rect" href="classXapian_1_1FeatureUnavailableError.html" title="Indicates an attempt to use a feature which is unavailable." alt="" coords="369,227,572,267"/>
<area shape="poly" title=" " alt="" coords="271,332,316,305,368,278,402,265,404,270,370,283,319,310,274,336"/>
<area shape="rect" href="classXapian_1_1InternalError.html" title="InternalError indicates a runtime problem of some sort." alt="" coords="393,292,549,317"/>
<area shape="poly" title=" " alt="" coords="313,336,410,315,411,320,314,341"/>
<area shape="rect" href="classXapian_1_1NetworkError.html" title="Indicates a problem communicating with a remote database." alt="" coords="390,341,551,367"/>
<area shape="poly" title=" " alt="" coords="335,351,390,351,390,357,335,357"/>
<area shape="rect" href="classXapian_1_1QueryParserError.html" title="Indicates a query string can&#39;t be parsed." alt="" coords="377,391,564,416"/>
<area shape="poly" title=" " alt="" coords="314,367,411,388,410,393,313,372"/>
<area shape="rect" href="classXapian_1_1RangeError.html" title="RangeError indicates an attempt to access outside the bounds of a container." alt="" coords="397,440,544,465"/>
<area shape="poly" title=" " alt="" coords="273,372,318,400,370,426,405,437,403,442,368,431,315,405,270,377"/>
<area shape="rect" href="classXapian_1_1SerialisationError.html" title="Indicates an error in the std::string serialisation of an object." alt="" coords="377,489,564,515"/>
<area shape="poly" title=" " alt="" coords="262,376,307,427,338,453,371,476,397,487,395,492,368,480,334,458,304,431,258,379"/>
<area shape="rect" href="classXapian_1_1WildcardError.html" title="WildcardError indicates an error expanding a wildcarded query." alt="" coords="389,539,552,564"/>
<area shape="poly" title=" " alt="" coords="256,378,274,412,299,452,332,492,371,525,393,536,390,541,368,530,328,496,295,455,269,415,251,381"/>
<area shape="rect" href="classXapian_1_1Error.html" title="All exceptions thrown by Xapian are subclasses of Xapian::Error." alt="" coords="5,341,112,367"/>
<area shape="poly" title=" " alt="" coords="126,351,160,351,160,357,126,357"/>
<area shape="rect" href="classXapian_1_1DatabaseClosedError.html" title="Indicates an attempt to access a closed database." alt="" coords="625,5,837,31"/>
<area shape="poly" title=" " alt="" coords="496,117,550,77,619,40,653,28,655,33,621,44,553,82,499,122"/>
<area shape="rect" href="classXapian_1_1DatabaseCorruptError.html" title="DatabaseCorruptError indicates database corruption was detected." alt="" coords="623,55,839,80"/>
<area shape="poly" title=" " alt="" coords="519,121,619,89,666,77,667,83,621,94,520,126"/>
<area shape="rect" href="classXapian_1_1DatabaseCreateError.html" title="DatabaseCreateError indicates a failure to create a database." alt="" coords="626,104,837,129"/>
<area shape="poly" title=" " alt="" coords="568,129,625,124,626,129,568,134"/>
<area shape="rect" href="classXapian_1_1DatabaseLockError.html" title="DatabaseLockError indicates failure to lock a database." alt="" coords="632,153,831,179"/>
<area shape="poly" title=" " alt="" coords="568,147,632,154,631,159,568,153"/>
<area shape="rect" href="classXapian_1_1DatabaseModifiedError.html" title="DatabaseModifiedError indicates a database was modified." alt="" coords="634,203,829,243"/>
<area shape="poly" title=" " alt="" coords="550,155,573,162,597,175,621,188,657,201,656,206,619,192,595,179,571,167,548,160"/>
<area shape="rect" href="classXapian_1_1DatabaseOpeningError.html" title="DatabaseOpeningError indicates failure to open a database." alt="" coords="620,268,843,293"/>
<area shape="poly" title=" " alt="" coords="567,158,574,163,585,174,592,186,599,209,605,232,611,243,622,253,643,266,641,270,618,257,607,246,600,234,593,211,587,188,581,177,570,167,564,162"/>
<area shape="rect" href="classXapian_1_1DatabaseNotFoundError.html" title="Indicates an attempt to access a database not present." alt="" coords="900,231,1099,271"/>
<area shape="poly" title=" " alt="" coords="856,264,900,260,900,265,857,270"/>
<area shape="rect" href="classXapian_1_1DatabaseVersionError.html" title="DatabaseVersionError indicates that a database is in an unsupported format." alt="" coords="891,296,1108,321"/>
<area shape="poly" title=" " alt="" coords="856,291,891,295,890,300,856,296"/>
<area shape="rect" href="classXapian_1_1NetworkTimeoutError.html" title="Indicates a timeout expired while communicating with a remote database." alt="" coords="624,341,839,367"/>
<area shape="poly" title=" " alt="" coords="565,351,624,351,624,357,565,357"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_methods_classXapian_1_1Error"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classXapian_1_1Error')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classXapian_1_1Error.html">Xapian::Error</a></td></tr>
<tr class="memitem:ae2663feca0ff541dcef3a79396dd05ab inherit pub_methods_classXapian_1_1Error" id="r_ae2663feca0ff541dcef3a79396dd05ab"><td class="memItemLeft" align="right" valign="top">
const char *&#160;</td><td class="memItemRight" valign="bottom"><b>get_type</b> () const</td></tr>
<tr class="memdesc:ae2663feca0ff541dcef3a79396dd05ab inherit pub_methods_classXapian_1_1Error"><td class="mdescLeft">&#160;</td><td class="mdescRight">The type of this error (e.g. "DocNotFoundError".) <br /></td></tr>
<tr class="separator:ae2663feca0ff541dcef3a79396dd05ab inherit pub_methods_classXapian_1_1Error"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a840d36cfe92531bcbb7ad8baa445858a inherit pub_methods_classXapian_1_1Error" id="r_a840d36cfe92531bcbb7ad8baa445858a"><td class="memItemLeft" align="right" valign="top">
const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>get_msg</b> () const</td></tr>
<tr class="memdesc:a840d36cfe92531bcbb7ad8baa445858a inherit pub_methods_classXapian_1_1Error"><td class="mdescLeft">&#160;</td><td class="mdescRight">Message giving details of the error, intended for human consumption. <br /></td></tr>
<tr class="separator:a840d36cfe92531bcbb7ad8baa445858a inherit pub_methods_classXapian_1_1Error"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e1cf96dd8dcff7008a4245a607122b7 inherit pub_methods_classXapian_1_1Error" id="r_a3e1cf96dd8dcff7008a4245a607122b7"><td class="memItemLeft" align="right" valign="top">const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1Error.html#a3e1cf96dd8dcff7008a4245a607122b7">get_context</a> () const</td></tr>
<tr class="memdesc:a3e1cf96dd8dcff7008a4245a607122b7 inherit pub_methods_classXapian_1_1Error"><td class="mdescLeft">&#160;</td><td class="mdescRight">Optional context information.  <br /></td></tr>
<tr class="separator:a3e1cf96dd8dcff7008a4245a607122b7 inherit pub_methods_classXapian_1_1Error"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0d5a2f12c551f5220716282b501a7a1 inherit pub_methods_classXapian_1_1Error" id="r_ab0d5a2f12c551f5220716282b501a7a1"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1Error.html#ab0d5a2f12c551f5220716282b501a7a1">get_error_string</a> () const</td></tr>
<tr class="memdesc:ab0d5a2f12c551f5220716282b501a7a1 inherit pub_methods_classXapian_1_1Error"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns any system error string associated with this exception.  <br /></td></tr>
<tr class="separator:ab0d5a2f12c551f5220716282b501a7a1 inherit pub_methods_classXapian_1_1Error"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1fabaae0c1c2e5aa0164a5151c0b8c7f inherit pub_methods_classXapian_1_1Error" id="r_a1fabaae0c1c2e5aa0164a5151c0b8c7f"><td class="memItemLeft" align="right" valign="top">
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>get_description</b> () const</td></tr>
<tr class="memdesc:a1fabaae0c1c2e5aa0164a5151c0b8c7f inherit pub_methods_classXapian_1_1Error"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a string describing this object. <br /></td></tr>
<tr class="separator:a1fabaae0c1c2e5aa0164a5151c0b8c7f inherit pub_methods_classXapian_1_1Error"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The base class for exceptions indicating errors only detectable at runtime. </p>
<p>A subclass of <a class="el" href="classXapian_1_1RuntimeError.html" title="The base class for exceptions indicating errors only detectable at runtime.">RuntimeError</a> will be thrown if <a class="el" href="namespaceXapian.html" title="The Xapian namespace contains public interfaces for the Xapian library.">Xapian</a> detects an error which is exception derived from <a class="el" href="classXapian_1_1RuntimeError.html" title="The base class for exceptions indicating errors only detectable at runtime.">RuntimeError</a> is thrown when an error is caused by problems with the data or environment rather than a programming mistake. </p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li>xapian/<a class="el" href="error_8h.html">error.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by <a href="https://www.doxygen.org/">Doxygen 1.9.8</a>
</small></address>
</body>
</html>