Berkeley DB Java Edition
version 5.0.34

com.sleepycat.persist.evolve
Class IncompatibleClassException

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.OperationFailureException
                      extended by com.sleepycat.persist.evolve.IncompatibleClassException
All Implemented Interfaces:
Serializable

public class IncompatibleClassException
extends OperationFailureException

A class has been changed incompatibly and no mutation has been configured to handle the change or a new class version number has not been assigned.

In a replicated environment, this exception is also thrown when upgrading an application (persistent classes have been changed) and an upgraded node is elected Master before all of the Replica nodes have been upgraded. See Upgrading a Replication Group for more information.

Author:
Mark Hayes
See Also:
EntityStore.EntityStore, Entity.version(), Persistent.version(), Class Evolution, Serialized Form

Constructor Summary
IncompatibleClassException(String message)
           
 
Method Summary
 
Methods inherited from class com.sleepycat.je.DatabaseException
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
 

Constructor Detail

IncompatibleClassException

public IncompatibleClassException(String message)

Berkeley DB Java Edition
version 5.0.34

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