Release 4.1: Java exceptions
Prev | Chapter 38. Upgrading Berkeley DB 4.0 applications to Berkeley DB 4.1 | Next

## Release 4.1: Java exceptions

The Java DbEnv constructor is now marked with "throws DbException". This means applications must construct DbEnv objects in a context where DbException throwables are handled (either in a try/catch block or in a method that propagates the exception up the stack). Note that previous versions of the Berkeley DB Java API could throw this exception from the constructor but it was not marked.

Prev | Up | Next
Release 4.1: DB->stat.hash_nelem | Home | Release 4.1: C++ exceptions