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

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

- Packages that use RunRecoveryException
  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.

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

    Subclasses of RunRecoveryException in com.sleepycat.je
    Modifier and Type | Class and Description
    --- | ---
    `class` | `EnvironmentFailureException` Indicates that a failure has occurred that could impact the `Environment` as a whole.
    `class` | `EnvironmentLockedException` Thrown by the `Environment` constructor when an environment cannot be opened for write access because another process has the same environment open for write access.
    `class` | `EnvironmentNotFoundException` Thrown by the `Environment` constructor when `EnvironmentConfig AllowCreate` property is false (environment creation is not permitted), but there are no log files in the environment directory.
    `class` | `LogWriteException` Thrown when an `IOException` or other failure occurs when writing to the JE log.
    `class` | `ThreadInterruptedException` Thrown when `java.lang.InterruptedException` (a thread interrupt) or `java.nio.channels.ClosedChannelException` (which also results from a thread interrupt) occurs in any JE method.
    `class` | `VersionMismatchException` Thrown by the Environment constructor when an environment cannot be opened because the version of the existing log is not compatible with the version of JE that is running.

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

    Subclasses of RunRecoveryException in com.sleepycat.je.rep
    Modifier and Type | Class and Description
    --- | ---
    `class` | `GroupShutdownException` Thrown when an attempt is made to access an environment that was shutdown by the Master as a result of a call to `ReplicatedEnvironment.shutdownGroup(long, TimeUnit)`.
    `class` | `InsufficientLogException` This exception indicates that the log files constituting the Environment are insufficient and cannot be used as the basis for continuing with the replication stream provided by the current master.
    `class` | `MasterReplicaTransitionException` Deprecated. as of JE 5.0.88 because the environment no longer needs to restart when transitioning from master to replica.
    `class` | `RestartRequiredException` RestartRequiredException serves as the base class for all exceptions which makes it impossible for HA to proceed without some form of corrective action on the part of the user, followed by a restart of the application.
    `class` | `RollbackException` This asynchronous exception indicates that a new master has been selected, this `Replica`'s log is ahead of the current `Master`, and in this case, the `Replica` was unable to rollback without a recovery.
    `class` | `RollbackProhibitedException` This exception may be thrown by a Replica during the replication stream sync-up phase of startup.

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