See Also: IllegalAccessError
public class IllegalAccessError : IncompatibleClassChangeError
Thrown when the runtime notices that a program tries to access a class or member which is not accessible from where it is referenced. Some examples are:
- The superclass or an implemented interface is not accessible in the subclass.
- Reading or writing an inaccessible field, e.g., a private field in another class.
- Invoking an inaccessible method, e.g., the constructor of an inaccessible class, or a private method of another class.
Note that this can only occur when inconsistent class files have been loaded.
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1
The members of Java.Lang.IllegalAccessError are listed below.
See Also: IncompatibleClassChangeError