java.lang
Class IllegalAccessException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.IllegalAccessException
public class
IllegalAccessExceptionextends
Exception Thrown whenever a reflective method tries to do something that the
compiler would not allow. For example, using reflection to set a private
variable that belongs to a class in another package is bad.
Authors:- Brian Jones
- Warren Levy <warrenl@cygnus.com>
See Also:
IllegalAccessException
public IllegalAccessException()
Create an exception without a message.
IllegalAccessException
public IllegalAccessException(java.lang.String s)
Create an exception with a message.
Parameters: