|
Java programming notes
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 MemoryException is thrown when a Dbt is too small to hold the corresponding key or data item.
An object of type DeadlockException is thrown when a deadlock would occur.
An object of type RunRecoveryException, a subclass of DatabaseException, 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.
An object of type OutOfMemoryError is thrown when the system cannot provide enough memory to complete the operation (the ENOMEM system error on UNIX).
Copyright (c) 1996,2008 Oracle. All rights reserved.