public class java.lang
IllegalAccessError


Show All Login
Java SE 6
  
Extends: Throwable > Error > LinkageError > IncompatibleClassChangeError
Details
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.
version1.17, 11/17/05
sinceJDK1.0


Constructors
public IllegalAccessError()
Constructs an IllegalAccessError with no detail message.
public IllegalAccessError(String s) Details
Constructs an IllegalAccessError with the specified detail message.
sthe detail message.