com.sleepycat.je
Class VersionMismatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sleepycat.je.DatabaseException
com.sleepycat.je.RunRecoveryException
com.sleepycat.je.EnvironmentFailureException
com.sleepycat.je.VersionMismatchException
- All Implemented Interfaces:
- Serializable
public class VersionMismatchException
- extends EnvironmentFailureException
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. This occurs when a later version of JE was
used to create the log.
Warning: This exception should be handled when more than
one version of JE may be used to access an environment.
- Since:
- 4.0
- See Also:
- Serialized Form
Methods inherited from class com.sleepycat.je.EnvironmentFailureException |
getMessage, getReason, makeJavaErrorWrapper, promote, setAlreadyThrown, unexpectedException, unexpectedException, unexpectedException, unexpectedException, unexpectedState, unexpectedState, unexpectedState, unexpectedState |
VersionMismatchException
public VersionMismatchException(EnvironmentImpl envImpl,
String message)
- For internal use only.
wrapSelf
public EnvironmentFailureException wrapSelf(String msg)
- For internal use only.
- Overrides:
wrapSelf
in class EnvironmentFailureException
Copyright (c) 2004-2010 Oracle. All rights reserved.