APIdia Launch Partner
Top Description Fields Constructors
java.lang

public Class IllegalAccessException

extends ReflectiveOperationException
Class Inheritance

An IllegalAccessException is thrown when an application tries to reflectively create an instance (other than an array), set or get a field, or invoke a method, but the currently executing method does not have access to the definition of the specified class, field, method or constructor.
Since
1.0
See Also
Class#newInstance(), java.lang.reflect.Field#set(Object, Object), java.lang.reflect.Field#setBoolean(Object, boolean), java.lang.reflect.Field#setByte(Object, byte), java.lang.reflect.Field#setShort(Object, short), java.lang.reflect.Field#setChar(Object, char), java.lang.reflect.Field#setInt(Object, int), java.lang.reflect.Field#setLong(Object, long), java.lang.reflect.Field#setFloat(Object, float), java.lang.reflect.Field#setDouble(Object, double), java.lang.reflect.Field#get(Object), java.lang.reflect.Field#getBoolean(Object), java.lang.reflect.Field#getByte(Object), java.lang.reflect.Field#getShort(Object), java.lang.reflect.Field#getChar(Object), java.lang.reflect.Field#getInt(Object), java.lang.reflect.Field#getLong(Object), java.lang.reflect.Field#getFloat(Object), java.lang.reflect.Field#getDouble(Object), java.lang.reflect.Method#invoke(Object, Object[]), java.lang.reflect.Constructor#newInstance(Object[])

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
IllegalAccessException()

Constructs an IllegalAccessException without a detail message.

public
IllegalAccessException(String
the detail message.
s
)

Constructs an IllegalAccessException with a detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.ReflectiveOperationException.serialVersionUID.

Constructor Detail

IllegalAccessExceptionback to summary
public IllegalAccessException()

Constructs an IllegalAccessException without a detail message.

IllegalAccessExceptionback to summary
public IllegalAccessException(String s)

Constructs an IllegalAccessException with a detail message.

Parameters
s:String

the detail message.