Back to index

plt-scheme  4.2.1
Public Member Functions | Static Private Attributes
java.lang.IllegalAccessException Class Reference

Thrown whenever a reflective method tries to do something that the compiler would not allow. More...

Inheritance diagram for java.lang.IllegalAccessException:
Inheritance graph
[legend]
Collaboration diagram for java.lang.IllegalAccessException:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Static Private Attributes

static final long serialVersionUID = 6616958222490762034L
 Compatible with JDK 1.0+.

Detailed Description

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.

Author:
Brian Jones
Warren Levy warre.nosp@m.nl@c.nosp@m.ygnus.nosp@m..com
See also:
Class::newInstance()
Field::set(Object, Object)
Field::setBoolean(Object, boolean)
Field::setByte(Object, byte)
Field::setShort(Object, short)
Field::setChar(Object, char)
Field::setInt(Object, int)
Field::setLong(Object, long)
Field::setFloat(Object, float)
Field::setDouble(Object, double)
Field::get(Object)
Field::getBoolean(Object)
Field::getByte(Object)
Field::getShort(Object)
Field::getChar(Object)
Field::getInt(Object)
Field::getLong(Object)
Field::getFloat(Object)
Field::getDouble(Object)
Method::invoke(Object, Object[])
Constructor::newInstance(Object[]) updated to 1.4

Definition at line 72 of file IllegalAccessException.java.


Constructor & Destructor Documentation

Create an exception without a message.

Definition at line 82 of file IllegalAccessException.java.

  {
  }

Create an exception with a message.

Parameters:
sthe message

Definition at line 91 of file IllegalAccessException.java.

  {
    super(s);
  }

Member Data Documentation

final long java.lang.IllegalAccessException.serialVersionUID = 6616958222490762034L [static, private]

Compatible with JDK 1.0+.

Reimplemented from java.lang.Exception.

Definition at line 77 of file IllegalAccessException.java.


The documentation for this class was generated from the following file: