java.lang.Object | |||
↳ | java.lang.Throwable | ||
↳ | java.lang.Exception | ||
↳ | 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.
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs an
IllegalAccessException without a
detail message. | |||||||||||
Constructs an
IllegalAccessException with a detail message. |
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
| |||||||||||||||||||||||||||||||||
From class
java.lang.Object
|
Constructs an IllegalAccessException
without a
detail message.
Constructs an IllegalAccessException
with a detail message.
s | the detail message. |
---|