diff options
Diffstat (limited to 'db/docs/api_cxx/db_err.html')
-rw-r--r-- | db/docs/api_cxx/db_err.html | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/db/docs/api_cxx/db_err.html b/db/docs/api_cxx/db_err.html index a9ea77f1c..1b083aab4 100644 --- a/db/docs/api_cxx/db_err.html +++ b/db/docs/api_cxx/db_err.html @@ -1,6 +1,6 @@ <!--$Id: db_err.so,v 1.3 2002/08/18 21:15:48 bostic Exp $--> -<!--$Id: env_err.so,v 10.32 2004/09/28 15:04:20 bostic Exp $--> -<!--Copyright 1997-2004 by Sleepycat Software, Inc.--> +<!--$Id: env_err.so,v 10.34 2006/04/27 20:17:47 bostic Exp $--> +<!--Copyright 1997-2006 by Oracle Corporation--> <!--All rights reserved.--> <!--See the file LICENSE for redistribution information.--> <html> @@ -32,8 +32,8 @@ Db::errx(const char *fmt, ...); <p>The <a href="../api_cxx/env_err.html">DbEnv::err</a>, <a href="../api_cxx/env_err.html">DbEnv::errx</a>, Db::err and Db::errx methods provide error-messaging functionality for applications written using the Berkeley DB library.</p> -<p>The <a href="../api_cxx/env_err.html">DbEnv::err</a> method constructs an error message consisting of the -following elements:</p> +<p>The Db::err and <a href="../api_cxx/env_err.html">DbEnv::err</a> methods constructs an error message +consisting of the following elements:</p> <blockquote><dl compact> <dt>An optional prefix string<dd>If no error callback function has been set using the <a href="../api_cxx/env_set_errcall.html">DbEnv::set_errcall</a> method, any prefix string specified using the @@ -47,6 +47,10 @@ are converted for output. <b>error</b> value, as returned by the <a href="../api_cxx/env_strerror.html">DbEnv::strerror</a> method. </dl> </blockquote> +<p>The Db::errx and <a href="../api_cxx/env_err.html">DbEnv::errx</a> methods are the same as the +Db::err and <a href="../api_cxx/env_err.html">DbEnv::err</a> methods, except they do not append the +final separator characters and standard error string to the error +message.</p> <p>This constructed error message is then handled as follows:</p> <blockquote><p>If an error callback function has been set (see <a href="../api_cxx/db_set_errcall.html">Db::set_errcall</a> and <a href="../api_cxx/env_set_errcall.html">DbEnv::set_errcall</a>), that function is called with two @@ -67,17 +71,6 @@ is written to stderr, the standard error output stream.</p></blockquote> string. <dt><b>fmt</b><dd>The <b>fmt</b> parameter is an optional printf-style message to display. </dl> -<p>The <a href="../api_cxx/env_err.html">DbEnv::errx</a> and Db::errx methods perform identically to the -<a href="../api_cxx/env_err.html">DbEnv::err</a> and Db::err methods, except that they do not append -the final separator characters and standard error string to the error -message.</p> -<h3>Parameters</h3> -<dl compact> -<dt><b>error</b><dd>The <b>error</b> parameter is the error value for which the -<a href="../api_cxx/env_err.html">DbEnv::err</a> and Db::err methods will display a explanatory -string. -<dt><b>fmt</b><dd>The <b>fmt</b> parameter is an optional printf-style message to display. -</dl> <hr size=1 noshade> <h3>Class</h3> <a href="../api_cxx/db_class.html">Db</a> @@ -87,6 +80,6 @@ string. <table width="100%"><tr><td><br></td><td align=right> <a href="../api_cxx/api_core.html"><img src="../images/api.gif" alt="API"></a><a href="../ref/toc.html"><img src="../images/ref.gif" alt="Ref"></a> </td></tr></table> -<p><font size=1><a href="../sleepycat/legal.html">Copyright (c) 1996-2004</a> <a href="http://www.sleepycat.com">Sleepycat Software, Inc.</a> - All rights reserved.</font> +<p><font size=1>Copyright (c) 1996-2006 Oracle Corporation - All rights reserved.</font> </body> </html> |