m4_comment([$Id: cxx.so,v 11.5 2000/03/18 21:43:20 bostic Exp $]) m4_ref_title(Upgrading m4_db Applications, Release 3.0: additional C++ changes,, upgrade.3.0/db_cxx, upgrade.3.0/java) m4_p([dnl The Db::set_error_model method is gone. The way to change the C++ API to return errors rather than throw exceptions is via a flag on the DbEnv or Db constructor. For example:]) m4_indent([dnl int dberr; DbEnv *dbenv = new DbEnv(DB_CXX_NO_EXCEPTIONS);]) m4_p([dnl creates an environment that will never throw exceptions, and method returns should be checked instead.]) m4_p([dnl There are a number of smaller changes to the API that bring the C, C++ and Java APIs much closer in terms of functionality and usage. Please refer to the pages for upgrading C applications for further details.]) m4_page_footer