2
<!--Copyright 1997-2002 by Sleepycat Software, Inc.-->
3
<!--All rights reserved.-->
4
<!--See the file LICENSE for redistribution information.-->
7
<title>Berkeley DB Reference Guide: Release 4.1: Java exceptions</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
<table width="100%"><tr valign=top>
13
<td><h3><dl><dt>Berkeley DB Reference Guide:<dd>Upgrading Berkeley DB Applications</dl></h3></td>
14
<td align=right><a href="../../ref/upgrade.4.1/hash_nelem.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../reftoc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/upgrade.4.1/cxx.html"><img src="../../images/next.gif" alt="Next"></a>
17
<h1 align=center>Release 4.1: Java exceptions</h1>
18
<p>The Java <a href="../../api_java/env_class.html">DbEnv</a> constructor is now marked with "throws
19
DbException". This means applications must construct <a href="../../api_java/env_class.html">DbEnv</a>
20
objects in a context where <a href="../../api_java/except_class.html">DbException</a> throwables are
21
handled (either in a try/catch block or in a method that propagates the
22
exception up the stack). Note that previous versions of the Berkeley DB Java
23
API could throw this exception from the constructor but it was not
25
<table width="100%"><tr><td><br></td><td align=right><a href="../../ref/upgrade.4.1/hash_nelem.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../reftoc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/upgrade.4.1/cxx.html"><img src="../../images/next.gif" alt="Next"></a>
27
<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font>