|
Although the Java API parallels the Berkeley DB C++/C interface in many ways, it differs where the Java language requires. For example, the handle method names are camel-cased and conform to Java naming patterns. (The C++/C method names are currently provided, but are deprecated.)
An object of type DbDeadlockException is thrown when a deadlock would occur.
An object of type DbMemoryException is thrown when the system cannot provide enough memory to complete the operation (the ENOMEM system error on UNIX).
An object of type DbRunRecoveryException , a subclass of DbException , is thrown when there is an error that requires a recovery of the database using db_recover.
An object of type IllegalArgumentException a standard Java Language exception, is thrown when there is an error in method arguments.
Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.