Create a client environment to connect to a server.
The DB_CLIENT flag indicates to the system that this environment
is remote on a server. The use of this flag causes the environment
methods to use functions that call a server instead of local functions.
Prior to making any environment or database method calls, the
application must call the DbEnv::set_server function to establish
the connection to the server.
The Berkeley DB C++ API supports two different error behaviors. By default,
whenever an error occurs an exception is thrown that encapsulates the
error information. This generally allows for cleaner logic for
transaction processing, as a try block can surround a single
transaction. However, if DB_CXX_NO_EXCEPTIONS is specified,
exceptions are not thrown, instead each individual function returns an
error code.