public abstract class DatabaseException extends RuntimeException
Exceptions thrown by BDB JE fall into three categories.
UnsupportedOperationException. These exceptions have the standard meaning defined by their javadoc. Note that JE throws
NullPointerExceptionwhen a required parameter is null.
OperationFailureExceptionor one of its subclasses is thrown. See
EnvironmentFailureExceptionor one of its subclasses is thrown. See
(Actually the above statement is not strictly correct.
RunRecoveryException exists for
backward compatibility and has been deprecated.
EnvironmentFailureException should be used instead.)
Note that in some cases, certain methods return status values without
issuing an exception. This occurs in situations that are not normally
considered an error, but when some informational status is returned. For
OperationStatus.NOTFOUND when a
requested key does not appear in the database.
|Modifier and Type||Method and Description|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright (c) 2004, 2014 Oracle and/or its affiliates. All rights reserved.