Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Berkeley DB Java Edition version 4.0.103
PREV NEXT | FRAMES NO FRAMES

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

Packages that use OperationFailureException
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
`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` | `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
`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.
`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 `Replicator.State.Master state`.
`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` | `ReplicaWriteException` This exception indicates that an update operation 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
`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
`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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Berkeley DB Java Edition version 4.0.103
PREV NEXT | FRAMES NO FRAMES

Copyright (c) 2004-2010 Oracle. All rights reserved.