com.sleepycat.je
Class EnvironmentLockedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.sleepycat.je.DatabaseException
                  extended by com.sleepycat.je.RunRecoveryException
                      extended by com.sleepycat.je.EnvironmentFailureException
                          extended by com.sleepycat.je.EnvironmentLockedException
All Implemented Interfaces:
Serializable

public class EnvironmentLockedException
extends EnvironmentFailureException

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.

Warning: This exception should be handled when an environment is opened by more than one process.

See Also:
Serialized Form

Constructor Summary
EnvironmentLockedException(EnvironmentImpl envImpl, String message)
          For internal use only.
 
Method Summary
 EnvironmentFailureException wrapSelf(String msg)
          For internal use only.
 
Methods inherited from class com.sleepycat.je.EnvironmentFailureException
getMessage, getReason, makeJavaErrorWrapper, promote, setAlreadyThrown, unexpectedException, unexpectedException, unexpectedException, unexpectedException, unexpectedState, unexpectedState, unexpectedState, unexpectedState
 
Methods inherited from class com.sleepycat.je.DatabaseException
addErrorMessage, getVersionHeader
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EnvironmentLockedException

public EnvironmentLockedException(EnvironmentImpl envImpl,
                                  String message)
For internal use only.

Method Detail

wrapSelf

public EnvironmentFailureException wrapSelf(String msg)
For internal use only.

Overrides:
wrapSelf in class EnvironmentFailureException


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