FileDocCategorySizeDatePackage
IllegalAccessError.javaAPI DocJava SE 5 API1004Fri Aug 26 14:57:02 BST 2005java.lang

IllegalAccessError

public class IllegalAccessError extends IncompatibleClassChangeError
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.

author
unascribed
version
1.16, 12/19/03
since
JDK1.0

Fields Summary
Constructors Summary
public IllegalAccessError()
Constructs an IllegalAccessError with no detail message.

	super();
    
public IllegalAccessError(String s)
Constructs an IllegalAccessError with the specified detail message.

param
s the detail message.

	super(s);
    
Methods Summary