2
<!--Copyright 1997-2002 by Sleepycat Software, Inc.-->
3
<!--All rights reserved.-->
4
<!--See the file LICENSE for redistribution information.-->
7
<title>Berkeley DB: DbEnv.strerror</title>
8
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
9
<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++">
12
<a name="2"><!--meow--></a>
13
<table width="100%"><tr valign=top>
15
<h1>DbEnv.strerror</h1>
18
<a href="../api_java/c_index.html"><img src="../images/api.gif" alt="API"></a><a href="../reftoc.html"><img src="../images/ref.gif" alt="Ref"></a>
23
import com.sleepycat.db.*;
25
public static String strerror(int errcode);
28
<p>The DbEnv.strerror method returns an error message string corresponding
29
to the error number <b>error</b>. This interface is a superset of the
30
ANSI C X3.159-1989 (ANSI C) <b>strerror</b>(3) interface. If the error number
31
<b>error</b> is greater than or equal to 0, then the string returned by
32
the system interface <b>strerror</b>(3) is returned. If the error
33
number is less than 0, an error string appropriate to the corresponding
34
Berkeley DB library error is returned. See
35
<a href="../ref/program/errorret.html">Error returns to applications</a>
38
<a href="../api_java/env_class.html">DbEnv</a>
40
<a href="../api_java/env_list.html">Database Environments and Related Methods</a>
42
<table width="100%"><tr><td><br></td><td align=right>
43
<a href="../api_java/c_index.html"><img src="../images/api.gif" alt="API"></a><a href="../reftoc.html"><img src="../images/ref.gif" alt="Ref"></a>
45
<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font>