java.lang
Class IllegalAccessError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by java.lang.LinkageError
              extended by java.lang.IncompatibleClassChangeError
                  extended by java.lang.IllegalAccessError

public class IllegalAccessError
extends IncompatibleClassChangeError

An IllegalAccessError is thrown when an attempt is made to call a method, or access or modify a field that the application does not have access to. Because this error is usually caught by a compiler, the error only occurs at runtime when the definition of a class has changed in a way that is incompatible with the previously compiled application.


Constructor Summary
IllegalAccessError()
          Create an error without a message.
IllegalAccessError(String s)
          Create an error with a message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
getCause, getLocalizedMessage, getMessage, initCause, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllegalAccessError

public IllegalAccessError()
Create an error without a message.


IllegalAccessError

public IllegalAccessError(String s)
Create an error with a message.

Parameters:
s - the message