public
class
IllegalAccessException
extends ReflectiveOperationException
java.lang.Object | ||||
↳ | java.lang.Throwable | |||
↳ | java.lang.Exception | |||
↳ | java.lang.ReflectiveOperationException | |||
↳ | java.lang.IllegalAccessException |
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.
See also:
newInstance()
set(Object, Object)
setBoolean(Object, boolean)
setByte(Object, byte)
setShort(Object, short)
setChar(Object, char)
setInt(Object, int)
setLong(Object, long)
setFloat(Object, float)
setDouble(Object, double)
get(Object)
getBoolean(Object)
getByte(Object)
getShort(Object)
getChar(Object)
getInt(Object)
getLong(Object)
getFloat(Object)
getDouble(Object)
invoke(Object, Object[])
newInstance(Object[])
Public constructors | |
---|---|
IllegalAccessException()
Constructs an |
|
IllegalAccessException(String s)
Constructs an |
Inherited methods | |
---|---|
From
class
java.lang.Throwable
| |
From
class
java.lang.Object
|
IllegalAccessException ()
Constructs an IllegalAccessException
without a
detail message.
IllegalAccessException (String s)
Constructs an IllegalAccessException
with a detail message.
Parameters | |
---|---|
s |
String :
the detail message.
|