• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/db-4.8.30/docs/api_reference/CXX/
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml">
4  <head>
5    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6    <title>DbRepHandleDeadException</title>
7    <link rel="stylesheet" href="apiReference.css" type="text/css" />
8    <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
9    <link rel="start" href="index.html" title="Berkeley DB C++ API Reference" />
10    <link rel="up" href="dbexception.html" title="Chapter 6. The DbException Class" />
11    <link rel="prev" href="dbmemory.html" title="DbMemoryException" />
12    <link rel="next" href="dbrunrecovery.html" title="DbRunRecoveryException" />
13  </head>
14  <body>
15    <div class="navheader">
16      <table width="100%" summary="Navigation header">
17        <tr>
18          <th colspan="3" align="center">DbRepHandleDeadException</th>
19        </tr>
20        <tr>
21          <td width="20%" align="left"><a accesskey="p" href="dbmemory.html">Prev</a> </td>
22          <th width="60%" align="center">Chapter 6. The DbException Class</th>
23          <td width="20%" align="right"> <a accesskey="n" href="dbrunrecovery.html">Next</a></td>
24        </tr>
25      </table>
26      <hr />
27    </div>
28    <div class="sect1" lang="en" xml:lang="en">
29      <div class="titlepage">
30        <div>
31          <div>
32            <h2 class="title" style="clear: both"><a id="dbrephandledead"></a>DbRepHandleDeadException</h2>
33          </div>
34        </div>
35      </div>
36      <pre class="programlisting">#include &lt;db_cxx.h&gt;
37
38class DbRepHandleDeadException : public DbException {
39}; </pre>
40      <p>
41            This information describes the <code class="classname">DbRepHandleDead</code> class and how 
42            it is used by the various Berkeley DB classes.
43    </p>
44      <p>
45        A <code class="classname">DbRepHandleDeadException</code> is seen only for replicated applications.
46        When a client synchronizes with the master, it is possible for committed
47        transactions to be rolled back. This invalidates all  the database and cursor
48        handles opened in the replication environment.
49    </p>
50      <p>
51        This exception is therefore thrown when the application attempts to access a database or
52        cursor handle that has been invalidated due to a transaction roll back.
53    </p>
54      <p>
55        When this exception is seen, the application must abandon the attempted operation, discard
56        the handle, and then open a new one before proceeding with the abandoned operation.
57    </p>
58    </div>
59    <div class="navfooter">
60      <hr />
61      <table width="100%" summary="Navigation footer">
62        <tr>
63          <td width="40%" align="left"><a accesskey="p" href="dbmemory.html">Prev</a> </td>
64          <td width="20%" align="center">
65            <a accesskey="u" href="dbexception.html">Up</a>
66          </td>
67          <td width="40%" align="right"> <a accesskey="n" href="dbrunrecovery.html">Next</a></td>
68        </tr>
69        <tr>
70          <td width="40%" align="left" valign="top">DbMemoryException </td>
71          <td width="20%" align="center">
72            <a accesskey="h" href="index.html">Home</a>
73          </td>
74          <td width="40%" align="right" valign="top"> DbRunRecoveryException</td>
75        </tr>
76      </table>
77    </div>
78  </body>
79</html>
80