Uses of Class com.sleepycat.je.OperationFailureException (Oracle - Berkeley DB Java Edition API)
Date: 2014-12-16

## Uses of Class
com.sleepycat.je.OperationFailureException

- Packages that use OperationFailureException
  Package | Description
  --- | ---
  com.sleepycat.je | Foundation for creating environments, databases and transactions; provides cursor based data access.
  com.sleepycat.je.rep | Berkeley DB Java Edition High Availability (JE HA) enables replication of JE environments.
  com.sleepycat.persist | The Direct Persistence Layer (DPL) adds a persistent object model to the Berkeley DB transactional engine.
  com.sleepycat.persist.evolve | Utilities for managing class evolution of persistent objects.

- - ### Uses of OperationFailureException in com.sleepycat.je

    Subclasses of OperationFailureException in com.sleepycat.je
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DatabaseExistsException` Thrown by `Environment.openDatabase` and `Environment.openSecondaryDatabase` if the database already exists and the `DatabaseConfig ExclusiveCreate` parameter is true.
    `class` | `DatabaseNotFoundException` Thrown when an operation requires a database and that database does not exist.
    `class` | `DeadlockException` Deprecated. temporarily until true deadlock detection is implemented. Presently, {code DeadlockException} is replaced by `LockConflictException` as the common base class for lock conflict exceptions.
    `class` | `DeleteConstraintException` Thrown when an attempt is made to delete a key from a foreign key database, when that key is referenced by a secondary database, and the secondary is configured to cause an abort in this situation.
    `class` | `DiskOrderedCursorProducerException` Thrown by `ForwardCursor.getNext` when a `DiskOrderedCursor` producer thread throws an exception.
    `class` | `DuplicateDataException` Thrown by `Cursor.putCurrent` if the old and new data are not equal according to the configured duplicate comparator or default comparator.
    `class` | `ForeignConstraintException` Thrown when an attempt to write a primary database record would insert a secondary record with a key that does not exist in a foreign key database, when the secondary key is configured as a foreign key.
    `class` | `LockConflictException` The common base class for all exceptions that result from record lock conflicts during read and write operations.
    `class` | `LockNotAvailableException` Thrown when a non-blocking operation fails to get a lock.
    `class` | `LockNotGrantedException` Deprecated. replaced by `LockNotAvailableException`
    `class` | `LockTimeoutException` Thrown when multiple threads are competing for a lock and the lock timeout interval is exceeded for the current thread.
    `class` | `SecondaryConstraintException` Base class for exceptions thrown when a write operation fails because of a secondary constraint.
    `class` | `SecondaryIntegrityException` Thrown when an integrity problem is detected while accessing a secondary database, including access to secondaries while writing to a primary database.
    `class` | `SecondaryReferenceException` Base class for exceptions thrown when a read or write operation fails because of a secondary constraint or integrity problem.
    `class` | `SequenceExistsException` Thrown by `Database.openSequence` if the sequence record already exists and the `SequenceConfig ExclusiveCreate` parameter is true.
    `class` | `SequenceIntegrityException` Thrown by `Sequence.get` if the sequence record has been deleted.
    `class` | `SequenceNotFoundException` Thrown by `Database.openSequence` if the sequence record does not exist and the `SequenceConfig AllowCreate` parameter is false.
    `class` | `SequenceOverflowException` Thrown by `Sequence.get` if the end of the sequence is reached and wrapping is not configured.
    `class` | `TransactionTimeoutException` Thrown when multiple threads are competing for a lock and the transaction timeout interval is exceeded for the current thread.
    `class` | `UniqueConstraintException` Thrown when an attempt to write a primary database record would insert a secondary record with a duplicate key, for secondaries that represent one-to-one and one-to-many relationships.
    `class` | `XAFailureException` Thrown if an attempt is made to use a `Transaction` after it has been invalidated as the result of an XA failure.

  - ### Uses of OperationFailureException in com.sleepycat.je.rep

    Subclasses of OperationFailureException in com.sleepycat.je.rep
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DatabasePreemptedException` Thrown when attempting to use a Database handle that was forcibly closed by replication.
    `class` | `InsufficientAcksException` This exception is thrown at the time of a commit in a Master, if the Master could not obtain transaction commit acknowledgments from its Replicas in accordance with the `Durability.ReplicaAckPolicy` currently in effect and within the requested timeout interval.
    `class` | `InsufficientReplicasException` Thrown by `Environment.beginTransaction(com.sleepycat.je.Transaction, com.sleepycat.je.TransactionConfig)` and `Transaction.commit()` when these operations are initiated at a Master which is not in contact with a quorum of Replicas as determined by the `Durability.ReplicaAckPolicy` that is in effect for the operation.
    `class` | `LockPreemptedException` Thrown when a lock has been "stolen", or preempted, from a transaction in a replicated environment.
    `class` | `LogOverwriteException` Thrown when one or more log files are modified (overwritten) as the result of a replication operation.
    `class` | `MasterStateException` This exception indicates that the application attempted an operation that is not permitted when it is in the `ReplicatedEnvironment.State.MASTER` state.
    `class` | `MasterTransferFailureException` Thrown by `ReplicatedEnvironment.transferMaster(java.util.Set<java.lang.String>, int, java.util.concurrent.TimeUnit)` if a Master Transfer operation cannot be completed within the allotted time.
    `class` | `MemberNotFoundException` Thrown when an operation requires a replication group member and that member is not present in the replication group.
    `class` | `ReplicaConsistencyException` This exception is thrown by a Replica to indicate it could not meet the consistency requirements as defined by the `ReplicaConsistencyPolicy` in effect for the transaction, within the allowed timeout period.
    `class` | `ReplicaStateException` This exception indicates that the application attempted an operation that is not permitted when it is in the `ReplicatedEnvironment.State.REPLICA` state.
    `class` | `ReplicaWriteException` This exception indicates that an update operation or transaction commit or abort was attempted while in the `ReplicatedEnvironment.State.REPLICA` state.
    `class` | `StateChangeException` Provides a synchronous mechanism for informing an application about a change in the state of the replication node.
    `class` | `UnknownMasterException` Indicates that the underlying operation requires communication with a Master, but that a Master was not available.

  - ### Uses of OperationFailureException in com.sleepycat.persist

    Subclasses of OperationFailureException in com.sleepycat.persist
    Modifier and Type | Class and Description
    --- | ---
    `class` | `IndexNotAvailableException` Thrown by the `getPrimaryIndex`, `getSecondaryIndex` and `getSubclassIndex` when an index has not yet been created.
    `class` | `StoreExistsException` Thrown by the `EntityStore` constructor when the `ExclusiveCreate` configuration parameter is true and the store's internal catalog database already exists.
    `class` | `StoreNotFoundException` Thrown by the `EntityStore` constructor when the `AllowCreate` configuration parameter is false and the store's internal catalog database does not exist.

  - ### Uses of OperationFailureException in com.sleepycat.persist.evolve

    Subclasses of OperationFailureException in com.sleepycat.persist.evolve
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DeletedClassException` While reading from an index, an instance of a deleted class version was encountered.
    `class` | `IncompatibleClassException` A class has been changed incompatibly and no mutation has been configured to handle the change or a new class version number has not been assigned.

Copyright (c) 2004, 2014 Oracle and/or its affiliates. All rights reserved.