APIdia Launch Partner
Top Description Fields Constructors
java.lang

public Class IllegalAccessError

extends IncompatibleClassChangeError
Class Inheritance

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.

Since
1.0

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
IllegalAccessError()

Constructs an IllegalAccessError with no detail message.

public
IllegalAccessError(String
the detail message.
s
)

Constructs an IllegalAccessError with the specified detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.IncompatibleClassChangeError.serialVersionUID.

Annotations
@Serial

Constructor Detail

IllegalAccessErrorback to summary
public IllegalAccessError()

Constructs an IllegalAccessError with no detail message.

IllegalAccessErrorback to summary
public IllegalAccessError(String s)

Constructs an IllegalAccessError with the specified detail message.

Parameters
s:String

the detail message.