Library Version 11.2.5.3

Java exceptions
Prev | Chapter 9. Upgrading Berkeley DB 4.0 applications to Berkeley DB 4.1 | Next

## 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
DB->stat.hash_nelem | Home | C++ exceptions