JE Exceptions

Before describing the Java API usage, it is first useful to examine the exceptions thrown by those APIs. So, briefly, this section describes the exceptions that you can generally expect to encounter when writing JE applications. This list is not definitive. Exceptions beyond these can be expected, depending on the specific database activity you are performing. See the Javadoc for more information.

All of the JE APIs throw DatabaseException. DatabaseException extends java.lang.Exception. Also, the following classes are subclasses of DatabaseException:

Note that DatabaseException and its subclasses belong to the package.