IncompatibleClassException (Oracle - Berkeley DB Java Edition API)
Date: 2014-12-16

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

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `IncompatibleClassException(String message)`

  - ### Method Summary

    - ### Methods inherited from class com.sleepycat.je.DatabaseException

      `getMessage`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, 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)

Copyright (c) 2004, 2014 Oracle and/or its affiliates. All rights reserved.