com.sleepycat.persist.evolve
Class IncompatibleClassException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sleepycat.je.DatabaseException
com.sleepycat.je.OperationFailureException
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
IncompatibleClassException
public IncompatibleClassException(String message)
wrapSelf
public OperationFailureException wrapSelf(String msg)
- For internal use only.
- Specified by:
wrapSelf
in class OperationFailureException
Copyright (c) 2004-2012 Oracle. All rights reserved.