Documentation  › java.lang  › IllegalAccessError
 
 


  IllegalAccessError
  public

  Inherits From:   IncompatibleClassChangeError : LinkageError : Error : Throwable : Object
  Conforms To:   none
  Declared In:   java.lang


Exception Description
 
Thrown if an application attempts to access or modify a field, or to call a method that it does not have access to.

Normally, this error is caught by the compiler; this error can only occur at run time if the definition of a class has incompatibly changed.



Class Variables
 
None declared in this exception.


Instance Variables
 
None declared in this exception.


Constructors
 
IllegalAccessError
public IllegalAccessError( )

Constructs an IllegalAccessError with no detail message.


IllegalAccessError
public IllegalAccessError( String s )

Constructs an IllegalAccessError with the specified detail message.


Class Methods
 
None declared in this exception.


Instance Methods
 
None declared in this exception.


Known Subclasses
 
None.



 
 
  dydoc
  3/10/05