Sophie

Sophie

distrib > Fedora > 13 > x86_64 > by-pkgid > 2dc7ae7102ce788eb8a15dec0caf7708 > files > 57

xapian-core-devel-1.0.21-1.fc13.i686.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Xapian: API Documentation: xapian-core: Xapian::DatabaseError Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#ffffff">
<!-- Generated by Doxygen 1.5.2 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li class="current"><a href="classes.html"><span>Classes</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul>
</div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  </ul>
</div>
<div class="nav">
<a class="el" href="namespaceXapian.html">Xapian</a>::<a class="el" href="classXapian_1_1DatabaseError.html">DatabaseError</a></div>
<h1>Xapian::DatabaseError Class Reference</h1><!-- doxytag: class="Xapian::DatabaseError" --><!-- doxytag: inherits="Xapian::RuntimeError" --><a class="el" href="classXapian_1_1DatabaseError.html" title="DatabaseError indicates some sort of database related error.">DatabaseError</a> indicates some sort of database related error.  
<a href="#_details">More...</a>
<p>
Inheritance diagram for Xapian::DatabaseError:<p><center><img src="classXapian_1_1DatabaseError__inherit__graph.png" border="0" usemap="#Xapian_1_1DatabaseError__inherit__map" alt="Inheritance graph"></center>
<map name="Xapian_1_1DatabaseError__inherit__map">
<area shape="rect" href="classXapian_1_1DatabaseCorruptError.html" title="DatabaseCorruptError indicates database corruption was detected." alt="" coords="5,239,219,265"><area shape="rect" href="classXapian_1_1DatabaseCreateError.html" title="DatabaseCreateError indicates a failure to create a database." alt="" coords="243,239,451,265"><area shape="rect" href="classXapian_1_1DatabaseLockError.html" title="DatabaseLockError indicates failure to lock a database." alt="" coords="475,239,669,265"><area shape="rect" href="classXapian_1_1DatabaseModifiedError.html" title="DatabaseModifiedError indicates a database was modified." alt="" coords="693,239,912,265"><area shape="rect" href="classXapian_1_1DatabaseOpeningError.html" title="DatabaseOpeningError indicates failure to open a database." alt="" coords="936,239,1155,265"><area shape="rect" href="classXapian_1_1RuntimeError.html" title="The base class for exceptions indicating errors only detectable at runtime." alt="" coords="495,84,649,111"><area shape="rect" href="classXapian_1_1Error.html" title="All exceptions thrown by Xapian are subclasses of Xapian::Error." alt="" coords="520,7,624,33"><area shape="rect" href="classXapian_1_1DatabaseVersionError.html" title="DatabaseVersionError indicates that a database is in an unsupported format." alt="" coords="940,316,1151,343"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classXapian_1_1DatabaseError-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1DatabaseError.html#12b19cd58d41d12b1ea0889f04379a5e">DatabaseError</a> (const std::string &amp;msg_, const std::string &amp;context_=&quot;&quot;, int errno_=0)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">General purpose constructor which allows setting errno.  <a href="#12b19cd58d41d12b1ea0889f04379a5e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1DatabaseError.html#fb6540c88a8ea04529f4a3938d9b6957">DatabaseError</a> (const std::string &amp;msg_, int errno_)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Construct from message and errno value.  <a href="#fb6540c88a8ea04529f4a3938d9b6957"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classXapian_1_1DatabaseError.html" title="DatabaseError indicates some sort of database related error.">DatabaseError</a> indicates some sort of database related error. 
<p>

<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="12b19cd58d41d12b1ea0889f04379a5e"></a><!-- doxytag: member="Xapian::DatabaseError::DatabaseError" ref="12b19cd58d41d12b1ea0889f04379a5e" args="(const std::string &amp;msg_, const std::string &amp;context_=&quot;&quot;, int errno_=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Xapian::DatabaseError::DatabaseError           </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>msg_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>context_</em> = <code>&quot;&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>errno_</em> = <code>0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline, explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
General purpose constructor which allows setting errno. 
<p>

</div>
</div><p>
<a class="anchor" name="fb6540c88a8ea04529f4a3938d9b6957"></a><!-- doxytag: member="Xapian::DatabaseError::DatabaseError" ref="fb6540c88a8ea04529f4a3938d9b6957" args="(const std::string &amp;msg_, int errno_)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Xapian::DatabaseError::DatabaseError           </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>msg_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>errno_</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Construct from message and errno value. 
<p>

</div>
</div><p>
<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></ul>
<hr>
<address><small>
Documentation for Xapian (version 1.0.21).<br>
Generated on 18 Jun 2010 by
<a href="http://www.doxygen.org/">Doxygen 1.5.2</a>.
</small></address>
</body>
</html>