Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.lang

Class IllegalAccessException

java.lang.Object
|
+--java.lang.Throwable
   |
   +--java.lang.Exception
      |
      +--java.lang.IllegalAccessException


public class IllegalAccessException

extends 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:See Also:

Constructor Summary

IllegalAccessException()

Create an exception without a message.
IllegalAccessException(java.lang.String s)

Create an exception with a message.

Constructor Details

IllegalAccessException

public IllegalAccessException()

Create an exception without a message.


IllegalAccessException

public IllegalAccessException(java.lang.String s)

Create an exception with a message.

Parameters: