Berkeley DB Java Edition
version 5.0.34

com.sleepycat.je
Class VersionMismatchException

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.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

Method Summary
 
Methods inherited from class com.sleepycat.je.EnvironmentFailureException
getMessage
 
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
 


Berkeley DB Java Edition
version 5.0.34

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