# Class IncompatibleClassChangeError

java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.LinkageError
java.lang.IncompatibleClassChangeError

Direct Known Subclasses:
  `NoSuchFieldError`

public class IncompatibleClassChangeError extends LinkageError

`IncompatibleClassChangeError` is the superclass of all classes which represent errors that occur when inconsistent class files are loaded into the same running image.

##### See also

- Error

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `IncompatibleClassChangeError()`
  Constructs a new `IncompatibleClassChangeError` that includes the current stack trace.
  `IncompatibleClassChangeError(String detailMessage)`
  Constructs a new `IncompatibleClassChangeError` with the current stack trace and the specified detail message.

- ## Method Summary

  ### Methods inherited from class Throwable

  `addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### IncompatibleClassChangeError

    public IncompatibleClassChangeError()
    Constructs a new `IncompatibleClassChangeError` that includes the current stack trace.

  - ### IncompatibleClassChangeError

    public IncompatibleClassChangeError(String detailMessage)

    Constructs a new `IncompatibleClassChangeError` with the current stack trace and the specified detail message.

    ###### Parameters

    - `detailMessage`: the detail message for this error.