Debian Codegraph @

docs/api_reference/CXX/dbrephandledead.html

raw symbols SCIP
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 xmlns="" class="navheader">
16 <div class="libver">
17 <p>Library Version 11.2.5.3</p>
18 </div>
19 <table width="100%" summary="Navigation header">
20 <tr>
21 <th colspan="3" align="center">DbRepHandleDeadException</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="dbmemory.html">Prev</a> </td>
25 <th width="60%" align="center">Chapter 6. The DbException Class</th>
26 <td width="20%" align="right"> <a accesskey="n" href="dbrunrecovery.html">Next</a></td>
27 </tr>
28 </table>
29 <hr />
30 </div>
31 <div class="sect1" lang="en" xml:lang="en">
32 <div class="titlepage">
33 <div>
34 <div>
35 <h2 class="title" style="clear: both"><a id="dbrephandledead"></a>DbRepHandleDeadException</h2>
36 </div>
37 </div>
38 </div>
39 <pre class="programlisting">#include &lt;db_cxx.h&gt;
40
41 class DbRepHandleDeadException : public DbException {
42 }; </pre>
43 <p>
44 This information describes the <code class="classname">DbRepHandleDead</code> class and how
45 it is used by the various Berkeley DB classes.
46 </p>
47 <p>
48 A <code class="classname">DbRepHandleDeadException</code> is seen only for replicated applications.
49 When a client synchronizes with the master, it is possible for committed
50 transactions to be rolled back. This invalidates all the database and cursor
51 handles opened in the replication environment.
52 </p>
53 <p>
54 This exception is therefore thrown when the application attempts to access a database or
55 cursor handle that has been invalidated due to a transaction roll back.
56 </p>
57 <p>
58 When this exception is seen, the application must abandon the attempted operation, discard
59 the handle, and then open a new one before proceeding with the abandoned operation.
60 </p>
61 </div>
62 <div class="navfooter">
63 <hr />
64 <table width="100%" summary="Navigation footer">
65 <tr>
66 <td width="40%" align="left"><a accesskey="p" href="dbmemory.html">Prev</a> </td>
67 <td width="20%" align="center">
68 <a accesskey="u" href="dbexception.html">Up</a>
69 </td>
70 <td width="40%" align="right"> <a accesskey="n" href="dbrunrecovery.html">Next</a></td>
71 </tr>
72 <tr>
73 <td width="40%" align="left" valign="top">DbMemoryException </td>
74 <td width="20%" align="center">
75 <a accesskey="h" href="index.html">Home</a>
76 </td>
77 <td width="40%" align="right" valign="top"> DbRunRecoveryException</td>
78 </tr>
79 </table>
80 </div>
81 </body>
82 </html>