Debian Codegraph @

docs/java/com/sleepycat/db/DatabaseException.html

raw symbols SCIP
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by javadoc (build 1.6.0_51) on Mon Sep 09 11:47:04 EDT 2013 -->
6 <TITLE>
7 DatabaseException (Oracle - Berkeley DB Java API)
8 </TITLE>
9
10 <META NAME="date" CONTENT="2013-09-09">
11
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../style.css" TITLE="Style">
13
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17 if (location.href.indexOf('is-external=true') == -1) {
18 parent.document.title="DatabaseException (Oracle - Berkeley DB Java API)";
19 }
20 }
21 </SCRIPT>
22 <NOSCRIPT>
23 </NOSCRIPT>
24
25 </HEAD>
26
27 <BODY BGCOLOR="white" onload="windowTitle();">
28 <HR>
29
30
31 <!-- ========= START OF TOP NAVBAR ======= -->
32 <A NAME="navbar_top"><!-- --></A>
33 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35 <TR>
36 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37 <A NAME="navbar_top_firstrow"><!-- --></A>
38 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39 <TR ALIGN="center" VALIGN="top">
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DatabaseException.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48 </TR>
49 </TABLE>
50 </TD>
51 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52 <b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM>
53 </TD>
54 </TR>
55
56 <TR>
57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58 &nbsp;<A HREF="../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A>&nbsp;
59 &nbsp;<A HREF="../../../com/sleepycat/db/DatabaseStats.html" title="class in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD>
60 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61 <A HREF="../../../index.html?com/sleepycat/db/DatabaseException.html" target="_top"><B>FRAMES</B></A> &nbsp;
62 &nbsp;<A HREF="DatabaseException.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
63 &nbsp;<SCRIPT type="text/javascript">
64 <!--
65 if(window==top) {
66 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
67 }
68 //-->
69 </SCRIPT>
70 <NOSCRIPT>
71 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
72 </NOSCRIPT>
73
74
75 </FONT></TD>
76 </TR>
77 <TR>
78 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
82 </TR>
83 </TABLE>
84 <A NAME="skip-navbar_top"></A>
85 <!-- ========= END OF TOP NAVBAR ========= -->
86
87 <HR>
88 <!-- ======== START OF CLASS DATA ======== -->
89 <H2>
90 <FONT SIZE="-1">
91 com.sleepycat.db</FONT>
92 <BR>
93 Class DatabaseException</H2>
94 <PRE>
95 <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
96 <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">java.lang.Throwable</A>
97 <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">java.lang.Exception</A>
98 <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.sleepycat.db.DatabaseException</B>
99 </PRE>
100 <DL>
101 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A></DD>
102 </DL>
103 <DL>
104 <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../com/sleepycat/db/DeadlockException.html" title="class in com.sleepycat.db">DeadlockException</A>, <A HREF="../../../com/sleepycat/db/HeapFullException.html" title="class in com.sleepycat.db">HeapFullException</A>, <A HREF="../../../com/sleepycat/persist/IndexNotAvailableException.html" title="class in com.sleepycat.persist">IndexNotAvailableException</A>, <A HREF="../../../com/sleepycat/db/MemoryException.html" title="class in com.sleepycat.db">MemoryException</A>, <A HREF="../../../com/sleepycat/db/ReplicationDuplicateMasterException.html" title="class in com.sleepycat.db">ReplicationDuplicateMasterException</A>, <A HREF="../../../com/sleepycat/db/ReplicationHandleDeadException.html" title="class in com.sleepycat.db">ReplicationHandleDeadException</A>, <A HREF="../../../com/sleepycat/db/ReplicationHoldElectionException.html" title="class in com.sleepycat.db">ReplicationHoldElectionException</A>, <A HREF="../../../com/sleepycat/db/ReplicationJoinFailureException.html" title="class in com.sleepycat.db">ReplicationJoinFailureException</A>, <A HREF="../../../com/sleepycat/db/ReplicationLeaseExpiredException.html" title="class in com.sleepycat.db">ReplicationLeaseExpiredException</A>, <A HREF="../../../com/sleepycat/db/ReplicationLockoutException.html" title="class in com.sleepycat.db">ReplicationLockoutException</A>, <A HREF="../../../com/sleepycat/db/ReplicationSiteUnavailableException.html" title="class in com.sleepycat.db">ReplicationSiteUnavailableException</A>, <A HREF="../../../com/sleepycat/db/RunRecoveryException.html" title="class in com.sleepycat.db">RunRecoveryException</A>, <A HREF="../../../com/sleepycat/persist/StoreExistsException.html" title="class in com.sleepycat.persist">StoreExistsException</A>, <A HREF="../../../com/sleepycat/persist/StoreNotFoundException.html" title="class in com.sleepycat.persist">StoreNotFoundException</A>, <A HREF="../../../com/sleepycat/db/VersionMismatchException.html" title="class in com.sleepycat.db">VersionMismatchException</A></DD>
105 </DL>
106 <HR>
107 <DL>
108 <DT><PRE>public class <B>DatabaseException</B><DT>extends <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></DL>
109 </PRE>
110
111 <P>
112 The root of all database exceptions.
113 <p>
114 Note that in some cases, certain methods return status values without issuing
115 an exception. This occurs in situations that are not normally considered an
116 error, but when some informational status is returned. For example,
117 <A HREF="../../../com/sleepycat/db/Database.html#get(com.sleepycat.db.Transaction, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.LockMode)"><CODE>Database.get</CODE></A> returns <A HREF="../../../com/sleepycat/db/OperationStatus.html#NOTFOUND"><CODE>OperationStatus.NOTFOUND</CODE></A> when a
118 requested key does not appear in the database.
119 <P>
120
121 <P>
122 <DL>
123 <DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#com.sleepycat.db.DatabaseException">Serialized Form</A></DL>
124 <HR>
125
126 <P>
127
128 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
129
130 <A NAME="constructor_summary"><!-- --></A>
131 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
132 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
133 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
134 <B>Constructor Summary</B></FONT></TH>
135 </TR>
136 <TR BGCOLOR="white" CLASS="TableRowColor">
137 <TD><CODE><B><A HREF="../../../com/sleepycat/db/DatabaseException.html#DatabaseException(java.lang.String)">DatabaseException</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;s)</CODE>
138
139 <BR>
140 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct an exception with the specified message.</TD>
141 </TR>
142 <TR BGCOLOR="white" CLASS="TableRowColor">
143 <TD><CODE><B><A HREF="../../../com/sleepycat/db/DatabaseException.html#DatabaseException(java.lang.String, int)">DatabaseException</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;s,
144 int&nbsp;errno)</CODE>
145
146 <BR>
147 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct an exception with the specified message and error number.</TD>
148 </TR>
149 <TR BGCOLOR="white" CLASS="TableRowColor">
150 <TD><CODE><B><A HREF="../../../com/sleepycat/db/DatabaseException.html#DatabaseException(java.lang.String, int, com.sleepycat.db.Environment)">DatabaseException</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;s,
151 int&nbsp;errno,
152 <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</A>&nbsp;dbenv)</CODE>
153
154 <BR>
155 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct an exception with the specified message and error number
156 associated with a database environment handle.</TD>
157 </TR>
158 <TR BGCOLOR="white" CLASS="TableRowColor">
159 <TD><CODE><B><A HREF="../../../com/sleepycat/db/DatabaseException.html#DatabaseException(java.lang.Throwable)">DatabaseException</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A>&nbsp;t)</CODE>
160
161 <BR>
162 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct an exception with the specified cause exception.</TD>
163 </TR>
164 </TABLE>
165 &nbsp;
166 <!-- ========== METHOD SUMMARY =========== -->
167
168 <A NAME="method_summary"><!-- --></A>
169 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
170 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
171 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
172 <B>Method Summary</B></FONT></TH>
173 </TR>
174 <TR BGCOLOR="white" CLASS="TableRowColor">
175 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
176 <CODE>&nbsp;<A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</A></CODE></FONT></TD>
177 <TD><CODE><B><A HREF="../../../com/sleepycat/db/DatabaseException.html#getEnvironment()">getEnvironment</A></B>()</CODE>
178
179 <BR>
180 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the environment in which the exception occurred.</TD>
181 </TR>
182 <TR BGCOLOR="white" CLASS="TableRowColor">
183 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
184 <CODE>&nbsp;int</CODE></FONT></TD>
185 <TD><CODE><B><A HREF="../../../com/sleepycat/db/DatabaseException.html#getErrno()">getErrno</A></B>()</CODE>
186
187 <BR>
188 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the error number associated with this exception.</TD>
189 </TR>
190 <TR BGCOLOR="white" CLASS="TableRowColor">
191 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
192 <CODE>&nbsp;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
193 <TD><CODE><B><A HREF="../../../com/sleepycat/db/DatabaseException.html#toString()">toString</A></B>()</CODE>
194
195 <BR>
196 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
197 </TR>
198 </TABLE>
199 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
200 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
201 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
202 <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A></B></TH>
203 </TR>
204 <TR BGCOLOR="white" CLASS="TableRowColor">
205 <TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#fillInStackTrace()" title="class or interface in java.lang">fillInStackTrace</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#getCause()" title="class or interface in java.lang">getCause</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#getLocalizedMessage()" title="class or interface in java.lang">getLocalizedMessage</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#getMessage()" title="class or interface in java.lang">getMessage</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#getStackTrace()" title="class or interface in java.lang">getStackTrace</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#initCause(java.lang.Throwable)" title="class or interface in java.lang">initCause</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace()" title="class or interface in java.lang">printStackTrace</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace(java.io.PrintStream)" title="class or interface in java.lang">printStackTrace</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace(java.io.PrintWriter)" title="class or interface in java.lang">printStackTrace</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#setStackTrace(java.lang.StackTraceElement[])" title="class or interface in java.lang">setStackTrace</A></CODE></TD>
206 </TR>
207 </TABLE>
208 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
209 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
210 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
211 <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
212 </TR>
213 <TR BGCOLOR="white" CLASS="TableRowColor">
214 <TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
215 </TR>
216 </TABLE>
217 &nbsp;
218 <P>
219
220 <!-- ========= CONSTRUCTOR DETAIL ======== -->
221
222 <A NAME="constructor_detail"><!-- --></A>
223 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
224 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
225 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
226 <B>Constructor Detail</B></FONT></TH>
227 </TR>
228 </TABLE>
229
230 <A NAME="DatabaseException(java.lang.Throwable)"><!-- --></A><H3>
231 DatabaseException</H3>
232 <PRE>
233 public <B>DatabaseException</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A>&nbsp;t)</PRE>
234 <DL>
235 <DD>Construct an exception with the specified cause exception.
236 <P>
237 </DL>
238 <HR>
239
240 <A NAME="DatabaseException(java.lang.String)"><!-- --></A><H3>
241 DatabaseException</H3>
242 <PRE>
243 public <B>DatabaseException</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;s)</PRE>
244 <DL>
245 <DD>Construct an exception with the specified message.
246 <P>
247 </DL>
248 <HR>
249
250 <A NAME="DatabaseException(java.lang.String, int)"><!-- --></A><H3>
251 DatabaseException</H3>
252 <PRE>
253 public <B>DatabaseException</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;s,
254 int&nbsp;errno)</PRE>
255 <DL>
256 <DD>Construct an exception with the specified message and error number.
257 <P>
258 </DL>
259 <HR>
260
261 <A NAME="DatabaseException(java.lang.String, int, com.sleepycat.db.Environment)"><!-- --></A><H3>
262 DatabaseException</H3>
263 <PRE>
264 public <B>DatabaseException</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;s,
265 int&nbsp;errno,
266 <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</A>&nbsp;dbenv)</PRE>
267 <DL>
268 <DD>Construct an exception with the specified message and error number
269 associated with a database environment handle.
270 <P>
271 </DL>
272
273 <!-- ============ METHOD DETAIL ========== -->
274
275 <A NAME="method_detail"><!-- --></A>
276 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
277 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
278 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
279 <B>Method Detail</B></FONT></TH>
280 </TR>
281 </TABLE>
282
283 <A NAME="getEnvironment()"><!-- --></A><H3>
284 getEnvironment</H3>
285 <PRE>
286 public <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</A> <B>getEnvironment</B>()</PRE>
287 <DL>
288 <DD>Return the environment in which the exception occurred.
289 <p>
290 This method may be called at any time during the life of the application.
291 <p>
292 <P>
293 <DD><DL>
294
295 <DT><B>Returns:</B><DD>The environment in which the exception occurred.</DL>
296 </DD>
297 </DL>
298 <HR>
299
300 <A NAME="getErrno()"><!-- --></A><H3>
301 getErrno</H3>
302 <PRE>
303 public int <B>getErrno</B>()</PRE>
304 <DL>
305 <DD>Get the error number associated with this exception.
306 <p>
307 Note that error numbers can be returned from system calls
308 and are system-specific.
309 <P>
310 <DD><DL>
311 </DL>
312 </DD>
313 </DL>
314 <HR>
315
316 <A NAME="toString()"><!-- --></A><H3>
317 toString</H3>
318 <PRE>
319 public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE>
320 <DL>
321 <DD>
322 <P>
323 <DD><DL>
324 <DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A></CODE></DL>
325 </DD>
326 <DD><DL>
327 </DL>
328 </DD>
329 </DL>
330 <!-- ========= END OF CLASS DATA ========= -->
331 <HR>
332
333
334 <!-- ======= START OF BOTTOM NAVBAR ====== -->
335 <A NAME="navbar_bottom"><!-- --></A>
336 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
337 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
338 <TR>
339 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
340 <A NAME="navbar_bottom_firstrow"><!-- --></A>
341 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
342 <TR ALIGN="center" VALIGN="top">
343 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
344 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
345 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
346 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DatabaseException.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
347 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
348 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
349 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
350 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
351 </TR>
352 </TABLE>
353 </TD>
354 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
355 <b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM>
356 </TD>
357 </TR>
358
359 <TR>
360 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
361 &nbsp;<A HREF="../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A>&nbsp;
362 &nbsp;<A HREF="../../../com/sleepycat/db/DatabaseStats.html" title="class in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD>
363 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
364 <A HREF="../../../index.html?com/sleepycat/db/DatabaseException.html" target="_top"><B>FRAMES</B></A> &nbsp;
365 &nbsp;<A HREF="DatabaseException.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
366 &nbsp;<SCRIPT type="text/javascript">
367 <!--
368 if(window==top) {
369 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
370 }
371 //-->
372 </SCRIPT>
373 <NOSCRIPT>
374 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
375 </NOSCRIPT>
376
377
378 </FONT></TD>
379 </TR>
380 <TR>
381 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
382 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
383 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
384 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
385 </TR>
386 </TABLE>
387 <A NAME="skip-navbar_bottom"></A>
388 <!-- ======== END OF BOTTOM NAVBAR ======= -->
389
390 <HR>
391 <font size=1>Copyright (c) 1996, 2013 Oracle and/or its affiliates. All rights reserved.</font>
392 </BODY>
393 </HTML>