Packages This Package Prev Next Index
§1.49 Class IllegalAccessError
public class java.lang.IllegalAccessError
extends java.lang.IncompatibleClassChangeError (I-§1.50)
{
// Constructors
public IllegalAccessError(); §1.49.1
public IllegalAccessError(String s); §1.49.2
}
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 runtime if the
definition of a class has incompatibably changed
IllegalAccessError
public IllegalAccessError()
- Constructs an IllegalAccessError with no detail message.
IllegalAccessError
public IllegalAccessError(String s)
- Constructs an IllegalAccessError with the specified detail message.
- Parameters:
s
- the detail message
Packages This Package Prev Next Index
Java API Document (HTML generated by dkramer on April 22, 1996)
Copyright © 1996 Sun Microsystems, Inc.
All rights reserved
Please send any comments or corrections to doug.kramer@sun.com