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
|
<!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.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Xapian: API Documentation: Xapian::LogicError 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
 <span id="projectnumber">1.4.18</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<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:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(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_1LogicError.html">LogicError</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="classXapian_1_1LogicError-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Xapian::LogicError Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>The base class for exceptions indicating errors in the program logic.
<a href="classXapian_1_1LogicError.html#details">More...</a></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::LogicError:</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_1LogicError__inherit__graph.png" border="0" usemap="#aXapian_1_1LogicError_inherit__map" alt="Inheritance graph"/></div>
<map name="aXapian_1_1LogicError_inherit__map" id="aXapian_1_1LogicError_inherit__map">
<area shape="rect" title="The base class for exceptions indicating errors in the program logic." alt="" coords="160,85,300,112"/>
<area shape="rect" href="classXapian_1_1AssertionError.html" title="AssertionError is thrown if a logical assertion inside Xapian fails." alt="" coords="372,5,539,32"/>
<area shape="rect" href="classXapian_1_1InvalidArgumentError.html" title="InvalidArgumentError indicates an invalid parameter value was passed to the API." alt="" coords="348,56,563,83"/>
<area shape="rect" href="classXapian_1_1InvalidOperationError.html" title="InvalidOperationError indicates the API was used in an invalid way." alt="" coords="364,107,547,149"/>
<area shape="rect" href="classXapian_1_1UnimplementedError.html" title="UnimplementedError indicates an attempt to use an unimplemented feature." alt="" coords="350,173,561,200"/>
<area shape="rect" href="classXapian_1_1Error.html" title="All exceptions thrown by Xapian are subclasses of Xapian::Error." alt="" coords="5,85,112,112"/>
</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 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="-"/> Public Member Functions inherited from <a class="el" href="classXapian_1_1Error.html">Xapian::Error</a></td></tr>
<tr class="memitem:aafe12261f4457a6f584bf66bcd5062a9 inherit pub_methods_classXapian_1_1Error"><td class="memItemLeft" align="right" valign="top"><a id="aafe12261f4457a6f584bf66bcd5062a9"></a>
const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1Error.html#aafe12261f4457a6f584bf66bcd5062a9">get_type</a> () const</td></tr>
<tr class="memdesc:aafe12261f4457a6f584bf66bcd5062a9 inherit pub_methods_classXapian_1_1Error"><td class="mdescLeft"> </td><td class="mdescRight">The type of this error (e.g. "DocNotFoundError".) <br /></td></tr>
<tr class="separator:aafe12261f4457a6f584bf66bcd5062a9 inherit pub_methods_classXapian_1_1Error"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a16824f7bfcc25c7a68f2dbf9d02f1bb5 inherit pub_methods_classXapian_1_1Error"><td class="memItemLeft" align="right" valign="top"><a id="a16824f7bfcc25c7a68f2dbf9d02f1bb5"></a>
const std::string & </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1Error.html#a16824f7bfcc25c7a68f2dbf9d02f1bb5">get_msg</a> () const</td></tr>
<tr class="memdesc:a16824f7bfcc25c7a68f2dbf9d02f1bb5 inherit pub_methods_classXapian_1_1Error"><td class="mdescLeft"> </td><td class="mdescRight">Message giving details of the error, intended for human consumption. <br /></td></tr>
<tr class="separator:a16824f7bfcc25c7a68f2dbf9d02f1bb5 inherit pub_methods_classXapian_1_1Error"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:add645c8059652c634fa970a01b45fca2 inherit pub_methods_classXapian_1_1Error"><td class="memItemLeft" align="right" valign="top">const std::string & </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1Error.html#add645c8059652c634fa970a01b45fca2">get_context</a> () const</td></tr>
<tr class="memdesc:add645c8059652c634fa970a01b45fca2 inherit pub_methods_classXapian_1_1Error"><td class="mdescLeft"> </td><td class="mdescRight">Optional context information. <a href="classXapian_1_1Error.html#add645c8059652c634fa970a01b45fca2">More...</a><br /></td></tr>
<tr class="separator:add645c8059652c634fa970a01b45fca2 inherit pub_methods_classXapian_1_1Error"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2a1e58b8ff941a6cf6cb7c853882b343 inherit pub_methods_classXapian_1_1Error"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1Error.html#a2a1e58b8ff941a6cf6cb7c853882b343">get_error_string</a> () const</td></tr>
<tr class="memdesc:a2a1e58b8ff941a6cf6cb7c853882b343 inherit pub_methods_classXapian_1_1Error"><td class="mdescLeft"> </td><td class="mdescRight">Returns any system error string associated with this exception. <a href="classXapian_1_1Error.html#a2a1e58b8ff941a6cf6cb7c853882b343">More...</a><br /></td></tr>
<tr class="separator:a2a1e58b8ff941a6cf6cb7c853882b343 inherit pub_methods_classXapian_1_1Error"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1fabaae0c1c2e5aa0164a5151c0b8c7f inherit pub_methods_classXapian_1_1Error"><td class="memItemLeft" align="right" valign="top"><a id="a1fabaae0c1c2e5aa0164a5151c0b8c7f"></a>
std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1Error.html#a1fabaae0c1c2e5aa0164a5151c0b8c7f">get_description</a> () const</td></tr>
<tr class="memdesc:a1fabaae0c1c2e5aa0164a5151c0b8c7f inherit pub_methods_classXapian_1_1Error"><td class="mdescLeft"> </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"> </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 in the program logic. </p>
<p>A subclass of <a class="el" href="classXapian_1_1LogicError.html" title="The base class for exceptions indicating errors in the program logic.">LogicError</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 a violation of a class invariant or a logical precondition or postcondition, etc. </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.1</a>
</small></address>
</body>
</html>
|