java.lang
Class ClassCircularityError

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Error
          extended byjava.lang.LinkageError
              extended byjava.lang.ClassCircularityError
All Implemented Interfaces:
Serializable

public class ClassCircularityError
extends LinkageError

This error is thrown when the VM notices that an attempt is made to load a class which would directly or indirectly inherit from one of its subclasses.

Note that this can only occur when inconsistant class files are being loaded, since this error would be detected at compile time.

See Also:
Serialized Form

Constructor Summary
ClassCircularityError()
          Constructs a new instance of this class with its walkback filled in.
ClassCircularityError(java.lang.String detailMessage)
          Constructs a new instance of this class with its walkback and message filled in.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassCircularityError

public ClassCircularityError()
Constructs a new instance of this class with its walkback filled in.


ClassCircularityError

public ClassCircularityError(java.lang.String detailMessage)
Constructs a new instance of this class with its walkback and message filled in.

Parameters:
detailMessage - String The detail message for the exception.