RunRecoveryException (Oracle - Berkeley DB Java Edition API)
Date: 2014-12-16

com.sleepycat.je

## Class RunRecoveryException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - com.sleepycat.je.DatabaseException
        - - com.sleepycat.je.RunRecoveryException

- All Implemented Interfaces:
    Serializable
  Direct Known Subclasses:
    EnvironmentFailureException

  Deprecated.
  replaced by `EnvironmentFailureException` and `Environment.isValid()`.

      @Deprecated
      public abstract class RunRecoveryException
      extends DatabaseException

  This base class of `EnvironmentFailureException` is deprecated but exists for API backward compatibility.

  Prior to JE 4.0, `RunRecoveryException` is thrown to indicate that the JE environment is invalid and cannot continue on safely. Applications catching `RunRecoveryException` prior to JE 4.0 were required to close and re-open the `Environment`.

  When using JE 4.0 or later, the application should catch `EnvironmentFailureException`. The application should then call `Environment.isValid()` to determine whether the `Environment` must be closed and re-opened, or can continue operating without being closed. See `EnvironmentFailureException`.

  See Also:
    Serialized Form

- - ### Method Summary

    - ### Methods inherited from class com.sleepycat.je.DatabaseException

      `getMessage`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

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