EnvironmentFailureException
and Environment.isValid()
.@Deprecated public abstract class RunRecoveryException extends DatabaseException
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
.
getMessage
Copyright (c) 2002, 2017 Oracle and/or its affiliates. All rights reserved.